[go: up one dir, main page]

CN110321044A - Sharing files method and terminal - Google Patents

Sharing files method and terminal Download PDF

Info

Publication number
CN110321044A
CN110321044A CN201910339256.8A CN201910339256A CN110321044A CN 110321044 A CN110321044 A CN 110321044A CN 201910339256 A CN201910339256 A CN 201910339256A CN 110321044 A CN110321044 A CN 110321044A
Authority
CN
China
Prior art keywords
file
terminal
interface
identifier
target
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.)
Pending
Application number
CN201910339256.8A
Other languages
Chinese (zh)
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201910339256.8A priority Critical patent/CN110321044A/en
Publication of CN110321044A publication Critical patent/CN110321044A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • 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/0482Interaction with lists of selectable items, e.g. menus
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/08Annexed information, e.g. attachments

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)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the present invention provides a kind of sharing files method and terminal, and method includes: display sharing files interface;In the case where receiving the first operation, file marquee is shown in the part display area in sharing files interface, wherein shows at least one file identification in file marquee, and different file identifications and different file associations;In the case where receiving the second operation to the input of the first file identification, share the associated file of the first file identification in sharing files interface, wherein, first file identification includes some or all of mark at least one file identification, to keep operation of terminal during sharing file convenient and time saving.

Description

文件分享方法及终端File sharing method and terminal

技术领域technical field

本发明涉及通信技术领域,尤其涉及一种文件分享方法及终端。The invention relates to the field of communication technology, in particular to a file sharing method and a terminal.

背景技术Background technique

目前智能手机等终端已成为人们日常生活中不可缺少的工具。随着人们使用终端越来越频繁,人们对于终端的要求变得越来越高,尤其是终端的文件分享功能,例如:用户将音频、视频、图片或者文档等文件通过即时通信应用程序分享给其他终端的用户,或者通过社交应用程序分享至社交平台等。At present, terminals such as smart phones have become indispensable tools in people's daily life. As people use terminals more frequently, people have higher requirements for terminals, especially the file sharing function of terminals. For example, users share files such as audio, video, pictures or documents with instant messaging applications. Users of other terminals, or share to social platforms through social applications.

但是,目前在用户使用终端分享文件的过程中,终端通常是根据用户的一系列操作,先在存储的文件中查找到待分享文件,再调用用于供用户分享待分享文件的应用程序,最后通过调用的应用程序分享待分享文件,操作繁琐,尤其是存储的文件或者安装的应用程序较多时。However, at present, when a user uses a terminal to share files, the terminal usually finds the file to be shared in the stored files according to a series of operations of the user, and then calls the application program for the user to share the file to be shared, and finally Sharing the files to be shared through the invoked application program is cumbersome, especially when there are many stored files or installed applications.

发明内容Contents of the invention

本发明实施例提供一种文件分享方法及终端,以解决终端在文件分享过程中存在操作繁琐的问题。Embodiments of the present invention provide a file sharing method and a terminal to solve the problem of cumbersome operation of the terminal during the file sharing process.

为解决上述技术问题,本发明是这样实现的:In order to solve the problems of the technologies described above, the present invention is achieved in that:

第一方面,本发明实施例提供了一种文件分享方法,应用于终端,所述方法包括:In the first aspect, the embodiment of the present invention provides a file sharing method, which is applied to a terminal, and the method includes:

显示文件分享界面;Display the file sharing interface;

在接收到第一操作的情况下,在所述文件分享界面中的部分显示区域内显示文件选取框,其中,所述文件选取框中显示有至少一个文件标识,且不同文件标识与不同文件关联;When the first operation is received, a file selection box is displayed in a partial display area of the file sharing interface, wherein at least one file identifier is displayed in the file selection box, and different file identifiers are associated with different files ;

在接收到对第一文件标识输入的第二操作的情况下,在所述文件分享界面中分享所述第一文件标识关联的文件,其中,所述第一文件标识包括所述至少一个文件标识中部分或者全部标识。In the case of receiving the second operation of inputting the first file identifier, share the file associated with the first file identifier in the file sharing interface, wherein the first file identifier includes the at least one file identifier Part or all of the identities.

第二方面,本发明实施例还提供一种终端,包括显示屏,所述终端还包括:In a second aspect, an embodiment of the present invention further provides a terminal, including a display screen, and the terminal further includes:

第一显示模块,用于显示文件分享界面;a first display module, configured to display a file sharing interface;

第二显示模块,用于在接收到第一操作的情况下,在所述文件分享界面中的部分显示区域内显示文件选取框,其中,所述文件选取框中显示有至少一个文件标识,且不同文件标识与不同文件关联;The second display module is configured to display a file selection box in a partial display area of the file sharing interface when the first operation is received, wherein at least one file identifier is displayed in the file selection box, and Different file identifiers are associated with different files;

分享模块,用于在接收到对第一文件标识输入的第二操作的情况下,在所述文件分享界面中分享所述第一文件标识关联的文件,其中,所述第一文件标识包括所述至少一个文件标识中部分或者全部标识。A sharing module, configured to share the file associated with the first file identifier in the file sharing interface in the case of receiving the second operation input on the first file identifier, wherein the first file identifier includes the part or all of the at least one file identifier.

第三方面,本发明实施例还提供一种终端,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现上述文件分享方法的步骤。In the third aspect, an embodiment of the present invention also provides a terminal, including a processor, a memory, and a computer program stored in the memory and operable on the processor. When the computer program is executed by the processor, Steps for realizing the above-mentioned file sharing method.

第四方面,本发明实施例还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现上述文件分享方法的步骤。In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the above-mentioned file sharing method are implemented.

本发明实施例中,通过显示文件分享界面;在接收到第一操作的情况下,在文件分享界面中的部分显示区域内显示文件选取框,其中,文件选取框中显示有至少一个文件标识,且不同文件标识与不同文件关联;在接收到对第一文件标识输入的第二操作的情况下,在文件分享界面中分享第一文件标识关联的文件,其中,第一文件标识包括至少一个文件标识中部分或者全部标识,从而使终端在分享文件的过程中的操作便捷且省时。In the embodiment of the present invention, by displaying the file sharing interface; in the case of receiving the first operation, displaying a file selection box in a part of the display area of the file sharing interface, wherein at least one file identification is displayed in the file selection box, And different file identifiers are associated with different files; in the case of receiving the second operation input to the first file identifier, share the file associated with the first file identifier in the file sharing interface, wherein the first file identifier includes at least one file Some or all of the identifications are identified, so that the operation of the terminal in the process of sharing files is convenient and time-saving.

附图说明Description of drawings

图1是本发明实施例提供的文件分享方法的流程示意图之一;Fig. 1 is one of the schematic flow charts of the file sharing method provided by the embodiment of the present invention;

图2a是本发明实施例提供的终端的显示界面的示意图之一;Fig. 2a is one of the schematic diagrams of the display interface of the terminal provided by the embodiment of the present invention;

图2b是本发明实施例提供的终端的显示界面的示意图之二;Fig. 2b is the second schematic diagram of the display interface of the terminal provided by the embodiment of the present invention;

图3是本发明实施例提供的文件分享方法的流程示意图之二;Fig. 3 is the second schematic flow diagram of the file sharing method provided by the embodiment of the present invention;

图4a是本发明实施例提供的终端的显示界面的示意图之三;Fig. 4a is the third schematic diagram of the display interface of the terminal provided by the embodiment of the present invention;

图4b是本发明实施例提供的终端的显示界面的示意图之四;FIG. 4b is a fourth schematic diagram of a display interface of a terminal provided by an embodiment of the present invention;

图4c是本发明实施例提供的终端的显示界面的示意图之五;FIG. 4c is a fifth schematic diagram of a display interface of a terminal provided by an embodiment of the present invention;

图4d是本发明实施例提供的终端的显示界面的示意图之六;Fig. 4d is a sixth schematic diagram of a display interface of a terminal provided by an embodiment of the present invention;

图4e是本发明实施例提供的终端的显示界面的示意图之七;FIG. 4e is a seventh schematic diagram of a display interface of a terminal provided by an embodiment of the present invention;

图5是本发明实施例提供的终端的显示界面的示意图之八;FIG. 5 is an eighth schematic diagram of a display interface of a terminal provided by an embodiment of the present invention;

图6a是本发明实施例提供的终端的显示界面的示意图之九;Fig. 6a is a ninth schematic diagram of a display interface of a terminal provided by an embodiment of the present invention;

图6b是本发明实施例提供的终端的显示界面的示意图之十;FIG. 6b is a tenth schematic diagram of a display interface of a terminal provided by an embodiment of the present invention;

图7是本发明实施例提供的终端的结构示意图;FIG. 7 is a schematic structural diagram of a terminal provided by an embodiment of the present invention;

图8是本发明实施例提供的终端的硬件结构示意图。FIG. 8 is a schematic diagram of a hardware structure of a terminal provided by an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

请参见图1,是本发明实施例提供的一种文件分享方法的流程示意图,终端包括显示屏,如图1所示,该文件分享方法包括如下步骤:Please refer to FIG. 1, which is a schematic flowchart of a file sharing method provided by an embodiment of the present invention. The terminal includes a display screen. As shown in FIG. 1, the file sharing method includes the following steps:

步骤101、显示文件分享界面;Step 101, displaying the file sharing interface;

步骤102、在接收到第一操作的情况下,在文件分享界面中的部分显示区域内显示文件选取框,其中,文件选取框中显示有至少一个文件标识,且不同文件标识与不同文件关联;Step 102. When the first operation is received, a file selection box is displayed in a partial display area of the file sharing interface, wherein at least one file identifier is displayed in the file selection box, and different file identifiers are associated with different files;

步骤102、在接收到对第一文件标识输入的第二操作的情况下,在文件分享界面中分享第一文件标识关联的文件,其中,第一文件标识包括至少一个文件标识中部分或者全部标识。Step 102: In the case of receiving the second operation of inputting the first file identifier, share the file associated with the first file identifier in the file sharing interface, wherein the first file identifier includes part or all of at least one file identifier .

这里,终端可以根据用户的第一操作在文件分享界面中的部分显示区域内显示文件选取框,并根据用户对文件选取框中文件标识输入的第二操作,在文件分享界面中将选取的文件标识(即第一文件标识)对应的文件进行分享,从而使终端在分享文件的过程中的操作便捷且省时。Here, the terminal may display a file selection box in a part of the display area of the file sharing interface according to the user's first operation, and according to the second operation of the user's input of the file identifier in the file selection box, the selected file in the file sharing interface The file corresponding to the identification (namely the first file identification) is shared, so that the operation of the terminal in the process of sharing files is convenient and time-saving.

在上述步骤101中,在终端接收到用户输入的用于指示运行文件分享应用程序的操作情况下,例如:用户点击文件分享应用程序的应用图标,或者在显示界面中输入滑动轨迹与文件分享应用程序关联的滑动操作,等等,终端响应于该操作,显示文件分享应用程序的运行界面,即显示上述文件分享界面。In the above step 101, when the terminal receives the operation input by the user for instructing to run the file sharing application, for example: the user clicks the application icon of the file sharing application, or enters the sliding track and file sharing application in the display interface The sliding operation associated with the program, etc., in response to the operation, the terminal displays the running interface of the file sharing application, that is, displays the above file sharing interface.

其中,上述文件分享界面可以是终端在该界面下可以实现文件分享的任何界面,例如:上述文件分享界面可以是即时聊天应用程序的聊天界面,在该聊天界面下,终端可以将用户在文件选取框中选取的文件标识关联的文件发送至聊天界面中的联系人;或者,上述文件分享界面也可以是社交应用程序的信息分享界面,在该信息分享界面下,终端可以将用户在文件选取框中选取的文件标识关联的文件分享至社交应用程序的社交平台,且其他用户可以在社交平台上查看该终端分享的文件,等等。Wherein, the above-mentioned file sharing interface can be any interface where the terminal can realize file sharing under this interface. For example, the above-mentioned file sharing interface can be a chat interface of an instant chat application program. The file associated with the selected file identifier in the box is sent to the contact in the chat interface; or, the above-mentioned file sharing interface can also be an information sharing interface of a social application program. The file associated with the selected file identifier is shared to the social platform of the social application program, and other users can view the file shared by the terminal on the social platform, and so on.

在上述步骤102中,终端在显示有文件分享界面的情况下,若用户需要分享文件,则用户可以在文件分享界面中输入上述第一操作,终端接收到该第一操作并进行响应,可以在文件分享界面中的部分显示区域内显示文件选取框,从而可以降低显示文件选取框对文件分享界面中显示内容的干扰,以便于用户在文件选取框中选取需要分享的文件的文件标识,并通过文件分享界面进行分享。In the above step 102, when the terminal displays the file sharing interface, if the user needs to share the file, the user can input the above-mentioned first operation in the file sharing interface, and the terminal receives the first operation and responds. A file selection box is displayed in a part of the display area of the file sharing interface, thereby reducing the interference of the displayed file selection box on the content displayed in the file sharing interface, so that the user can select the file identification of the file to be shared in the file selection box, and pass File sharing interface for sharing.

其中,上述第一操作可以是任何用于指示终端在文件分享界面中的部分显示区域内显示上述文件选取框的操作,该第一操作可以是隔空手势操作、语音输入以及触控操作等中的至少一种,且触控操作可以包括滑动操作、点击操作或者按压操作,等等。Wherein, the above-mentioned first operation may be any operation for instructing the terminal to display the above-mentioned file selection box in a part of the display area of the file sharing interface, and the first operation may be an air gesture operation, voice input, touch operation, etc. at least one of , and the touch operation may include a slide operation, a click operation, or a press operation, and so on.

示例性地,如图2a所示,终端的显示屏中显示有一即时聊天应用程序的聊天界面,当终端接收到用户在该聊天界面中输入按压时长超出预设时长的按压操作(即第一操作),终端在该聊天界面中可以显示文件选取框21,如图2b所示。Exemplarily, as shown in FIG. 2a, a chat interface of an instant chat application program is displayed on the display screen of the terminal. When the terminal receives a pressing operation (that is, the first operation ), the terminal can display a file selection box 21 in the chat interface, as shown in FIG. 2b.

另外,上述在在文件分享界面中的部分显示区域内显示文件选取框,可以是文件选取框在文件分享界面中显示的大小、形状以及位置等固定或者可变,例如:可以是在文件分享界面中左下角或者右下角的四分之一显示区域内显示文件选取框,等等,在此并不进行限定。In addition, the above-mentioned display of the file selection box in a part of the display area in the file sharing interface may be that the size, shape and position of the file selection box displayed in the file sharing interface are fixed or variable, for example: it may be in the file sharing interface A file selection box is displayed in the lower left corner or a quarter of the display area of the lower right corner, etc., which are not limited here.

本实施例中,上述文件选取框中显示有至少一个文件标识,且不同文件标识与不同文件关联,可以是预先在文本选取框中设置文件标识,且通过超文本链接等方式建立该文件标识与文件库中文件的关联关系,使得通过选取文件标识可以调用文件库中关联的文件。In this embodiment, at least one file identification is displayed in the above-mentioned file selection box, and different file identifications are associated with different files. The file identification can be set in the text selection box in advance, and the file identification and file identification can be established by means of hypertext links or the like. The association relationship of the files in the file library makes it possible to call the associated files in the file library by selecting the file identifier.

其中,上述文件标识可以是文件的图标、缩略图以及文字信息等中的至少一种,例如:如图2b所示,文件选取框21中包括音乐1的文件名、图片2的文件名以及文本3的文件名,且音乐1的文件名通过超文本链接与本地数据库中文件名为音乐1的音频文件1关联,用户可以通过选取文件选取框中音乐1的文件名,将音频文件1分享至聊天界面中的其他联系人。Wherein, the above-mentioned file identification can be at least one of the icon, thumbnail and text information of the file, for example: as shown in Figure 2b, the file selection box 21 includes the file name of the music 1, the file name of the picture 2 and the text 3, and the file name of Music 1 is associated with the audio file 1 in the local database with the file name of Music 1 through a hypertext link, the user can share the audio file 1 by selecting the file name of Music 1 in the file selection box Other contacts in the chat interface.

需要说明的是,上述文件选取框中的文件标识是预先设置的标识,其可以是终端自动添加的,如终端接收到其他终端发送的文件,或者终端拍摄图像等时,终端自动在文件选取框中添加新文件的文件标识;或者,上述文件选取框中的文件标识也可以是根据用户的操作进行添加。It should be noted that the file identifier in the above file selection box is a preset identifier, which can be automatically added by the terminal. For example, when the terminal receives a file sent by another terminal, or the terminal takes an image, etc., the terminal automatically places the file identifier in the file selection box. Add the file ID of the new file; or, the file ID in the above file selection box can also be added according to the user's operation.

在本发明的另一实施例中,如图3所示,上述步骤102之前,还可以包括:In another embodiment of the present invention, as shown in FIG. 3, before the above step 102, it may also include:

步骤103、在接收到在终端的当前界面中输入的第五操作的情况下,在终端的当前界面中显示文件选取框;Step 103, in the case of receiving the fifth operation input in the current interface of the terminal, displaying a file selection box in the current interface of the terminal;

步骤104、在接收到对终端的当前界面中的目标文件输入的第六操作的情况下,在文件选取框中添加目标文件对应的第二文件标识。Step 104: In the case of receiving the sixth operation of inputting the target file in the current interface of the terminal, add a second file identifier corresponding to the target file in the file selection box.

这里,终端可以根据用户的操作将目标文件对应的第二文件标识添加至文件选取框,从而可以在后续使用过程中通过选取第二文件标识分享目标文件,使得添加文件标识可以满足用户的需要,提升用户体验效果。Here, the terminal can add the second file identifier corresponding to the target file to the file selection box according to the user's operation, so that the target file can be shared by selecting the second file identifier during subsequent use, so that adding the file identifier can meet the needs of the user. Improve user experience.

其中,上述第五操作可以是任何用于指示终端在终端的当前界面中显示上述文件选取框的操作;上述第六操作可以是任何用于指示终端在文件选取框中添加上述目标文件的第二文件标识的操作,且上述第五操作和上述第六操作均可以是隔空手势操作、语音输入以及触控操作等中的至少一种,且触控操作可以包括滑动操作、点击操作或者按压操作,等等。Wherein, the above-mentioned fifth operation may be any operation for instructing the terminal to display the above-mentioned file selection box in the current interface of the terminal; the above-mentioned sixth operation may be any operation for instructing the terminal to add the above-mentioned target file in the file selection box The operation of the file identification, and the above-mentioned fifth operation and the above-mentioned sixth operation can be at least one of air gesture operation, voice input and touch operation, and the touch operation can include slide operation, click operation or press operation ,and many more.

另外,上述终端的当前界面可以是任何包括上述目标文件的界面,其可以是文件分享界面,或者也可以是除文件分享界面之外的其他界面,在此并不进行限定。In addition, the current interface of the above-mentioned terminal may be any interface including the above-mentioned target file, which may be a file sharing interface, or may be other interfaces except the file sharing interface, which is not limited here.

示例性地,在用户使用终端与其他用户进行即时聊天的情况下,此时终端显示有即时应用程序的聊天界面(即上述终端的当前界面),当终端接收到其他终端发送的图片消息,若用户需要在文件选取框添加该图片消息中图片的文件标识,用户可以输入按住该图片消息向上滑动的第五操作,则终端响应于该第五操作,在其当前界面中显示如图2a所示的文件选取框21,或者,终端也可以响应于第五操作,在其当前界面显示如图4a所示的第一提示消息41,如“是否打开快捷发送文件界面(即文件选取框)”,并在用户输入对“是”的选项的点击操作时显示上述如图2b所示的文件选取框21,而在用户输入对“否”的选项的点击操作时不显示上述文件选取框21;在终端显示上述文件选取框21之后,若终端接收到用户输入的将图片消息中图片拖动至文件选取框21的拖动操作(即第六操作),则终端在文件选取框21生成该图片消息中图片的文件标识,如“美景”,如图4b所示,等等。Exemplarily, when a user uses a terminal to conduct an instant chat with other users, the terminal displays a chat interface of an instant application program (that is, the current interface of the above-mentioned terminal), when the terminal receives a picture message sent by another terminal, if The user needs to add the file identifier of the picture in the picture message in the file selection box, and the user can input the fifth operation of pressing and holding the picture message to slide upwards, and the terminal responds to the fifth operation, and displays the file in its current interface as shown in Figure 2a. Alternatively, the terminal may respond to the fifth operation and display the first prompt message 41 as shown in Figure 4a on its current interface, such as "whether to open the quick file sending interface (ie the file selection box)" , and display the above-mentioned file selection box 21 as shown in Figure 2b when the user inputs a click operation on the option of "Yes", but does not display the above-mentioned file selection box 21 when the user inputs a click operation on the option of "No"; After the terminal displays the above-mentioned file selection box 21, if the terminal receives the drag operation (ie, the sixth operation) of dragging the picture in the picture message to the file selection box 21 input by the user, then the terminal generates the picture in the file selection box 21. The file identifier of the picture in the message, such as "beauty", as shown in Figure 4b, and so on.

需要说明的是,在上述步骤104中终端将目标文件对应的第二文件标识添加至文件选取框之后,终端还可以根据用户输入的操作对目标文件以及第二文件标识进行处理。It should be noted that after the terminal adds the second file identifier corresponding to the target file to the file selection box in the above step 104, the terminal can also process the target file and the second file identifier according to the operation input by the user.

例如:在上述第二文件标识为目标文件的文件名的情况下,当终端接收到用户输入对第二文件标识进行的长按操作时,终端将目标文件的文件名显示为编辑状态,如图4c所示,“美景”的文件名处于编辑状态;若终端接收到用户在上述编辑状态下输入的文件名,则终端将用户输入的文件名作为目标文件的新的文件名,以实现对目标文件名的更改即重命名;或者,当终端接收到对第二文件标识进行的重压操作时,终端将目标文件的文件名显示为待删除状态,终端可以根据用户对待删除状态的文件名的操作删除目标文件的文件名,如图4d所示,显示与“文本3”对应的“删除”控件以及“取消”控件,若终端接收到用户点击“删除”控件,则将“文本3”从文件选取框中删除,等等。For example: in the case that the above-mentioned second file identifier is the file name of the target file, when the terminal receives the long-press operation input by the user on the second file identifier, the terminal displays the file name of the target file as the editing state, as shown in the figure As shown in 4c, the file name of "Beautiful Beauty" is in the editing state; if the terminal receives the file name input by the user in the above editing state, the terminal will use the file name input by the user as the new file name of the target file, so as to realize the target file The change of the file name is renaming; or, when the terminal receives the heavy pressure operation on the second file identifier, the terminal will display the file name of the target file as the state to be deleted, and the terminal can according to the file name of the state to be deleted by the user. Operate the file name of the deleted target file, as shown in Figure 4d, display the "Delete" control and the "Cancel" control corresponding to "Text 3". If the terminal receives the user's click on the "Delete" control, then "Text 3" will be deleted file marquee delete, etc.

在一些实施方式中,上述在文件选取框中添加目标文件对应的第二文件标识之后,还可以包括:在接收到对第二文件标识输入的第七操作的情况下,显示目标文件的文件编辑框;在接收到在文件编辑框中输入的编辑操作的情况下,对目标文件进行与编辑操作对应的编辑处理。In some implementations, after adding the second file identifier corresponding to the target file in the file selection box, it may further include: displaying the file edit file of the target file when the seventh operation on the input of the second file identifier is received. box; in the case of receiving an editing operation input in the file editing box, perform editing processing corresponding to the editing operation on the target file.

这里,终端可以根据用户对文件选取框中的文件标识输入的第七操作,显示该文件标识对应的文件编辑框,且终端可以根据用户在该文件编辑框中输入的编辑操作,对对应的文件进行编辑处理,从而可以根据用户的需要对文件选取框中的文件标识对应的文件进行编辑,提升文件的显示质量以及趣味性。Here, the terminal can display the file edit box corresponding to the file identifier according to the seventh operation input by the user on the file identifier in the file selection box, and the terminal can edit the corresponding file according to the editing operation input by the user in the file edit box. Editing is performed, so that the file corresponding to the file identifier in the file selection box can be edited according to the needs of the user, and the display quality and interest of the file can be improved.

示例性地,当终端接收到用户输入的如图4b所示的文件选取框21中“图片2”的双击操作的情况下,终端在其当前显示界面中显示如图4e所示的文件编辑框42,该文件编辑框42中显示有“图片2”对应的图片2,用于文件编辑的多种编辑控件,如修剪、旋转、马赛克、文字以及涂鸦等编辑控件,以及“取消”编辑控件以及“保存”编辑控件,等等;若终端接收到用户对各编辑控件输入的操作,终端对图片2进行与该编辑控件对应的处理,如修剪图片2的大小、旋转图片2、在图片2上添加马赛克、文字或者涂鸦等,在终端接收到用户点击“保存”编辑控件,终端确认用户对图片2的编辑完成,并保存编辑后的图片2,等等。Exemplarily, when the terminal receives the double-click operation of "picture 2" in the file selection box 21 as shown in Figure 4b input by the user, the terminal displays the file editing box as shown in Figure 4e in its current display interface 42. The file editing box 42 displays a picture 2 corresponding to "picture 2", various editing controls for file editing, such as editing controls such as trimming, rotation, mosaic, text, and graffiti, as well as "cancel" editing controls and "Save" the edit control, etc.; if the terminal receives the user's input operation on each edit control, the terminal will process the image 2 corresponding to the edit control, such as trimming the size of the image 2, rotating the image 2, and placing it on the image 2 Add mosaics, text or graffiti, etc. When the terminal receives the user's click on the "Save" edit control, the terminal confirms that the user has edited picture 2 and saves the edited picture 2, and so on.

需要说明的是,上述第七操作可以是任何用于指示终端显示与上述目标文件对应的文件编辑窗口的操作,且上述第七操作可以是隔空手势操作、语音输入以及触控操作等中的至少一种,且触控操作可以包括滑动操作、点击操作或者按压操作,等等,在此并不进行限定。It should be noted that the above-mentioned seventh operation may be any operation for instructing the terminal to display the file editing window corresponding to the above-mentioned target file, and the above-mentioned seventh operation may be an air gesture operation, voice input, touch operation, etc. At least one, and the touch operation may include a sliding operation, a clicking operation, or a pressing operation, etc., which are not limited herein.

在更进一步的实施方式中,上述显示目标文件的文件编辑框,可以包括:在终端的当前界面中悬浮显示目标文件的文件编辑窗口;或者,启动目标文件关联的文件编辑应用程序,并显示文件编辑应用程序的文件编辑界面,从而使终端显示文件编辑窗口的方式多样,使终端对目标文件的编辑更灵活。In a further embodiment, the above-mentioned displaying the file editing box of the target file may include: floating and displaying the file editing window of the target file in the current interface of the terminal; or starting the file editing application program associated with the target file, and displaying the file Edit the file editing interface of the application program, so that the terminal can display the file editing window in various ways, so that the terminal can edit the target file more flexibly.

其中,终端可以通过悬浮窗口的方式显示上述文件编辑框,即在终端的当前界面中悬浮显示目标文件的文件编辑窗口,该文件编辑窗口为上述文件编辑框,使终端的响应快速,提升文件编辑效率。Among them, the terminal can display the above-mentioned file editing box in the form of a floating window, that is, the file editing window of the target file is suspended in the current interface of the terminal. The file editing window is the above-mentioned file editing box, which makes the terminal respond quickly and improves file editing. efficiency.

或者,终端也可以启动目标文件关联的文件编辑应用程序,并显示文件编辑应用程序的文件编辑界面,即文件编辑界面为上述文件编辑框,由于文件编辑应用程序中文件编辑功能比较丰富且全面,从而可以对目标文件进行更好地编辑处理,进而提升目标文件的质量。Alternatively, the terminal can also start the file editing application program associated with the target file, and display the file editing interface of the file editing application program, that is, the file editing interface is the above-mentioned file editing box. Since the file editing functions in the file editing application program are relatively rich and comprehensive, Therefore, the target file can be better edited and processed, thereby improving the quality of the target file.

示例性地,假设上述目标文件为图片,且目标文件关联有文件编辑应用程序,如具备编辑功能的相册应用程序,当终端接收到用户输入的第七操作时,终端在其当前界面中显示相册,并在相册中显示该目标文件,终端可以根据用户在相册中输入的编辑操作对目标文件进行编辑。For example, assuming that the above target file is a picture, and the target file is associated with a file editing application program, such as a photo album application program with an editing function, when the terminal receives the seventh operation input by the user, the terminal displays the photo album in its current interface , and display the target file in the photo album, and the terminal can edit the target file according to the edit operation input by the user in the photo album.

需要说明的是,上述步骤101以及上述步骤103中显示文件选取框,可以是将文件选取框显示于终端的显示屏中的预设显示区域,例如:终端中预设文件选取框的显示区域为显示屏中底部的二分之一显示区域,在终端接收到第一操作的情况下,终端可以是将文件分享界面切换至显示屏中顶部的二分之一显示区域内显示,且文件选取框显示于显示屏中底部的二分之一显示区域,等等。It should be noted that, the display of the file selection box in the above step 101 and the above step 103 may be to display the file selection box in a preset display area on the display screen of the terminal, for example: the display area of the preset file selection box in the terminal is In the bottom half of the display area of the display screen, when the terminal receives the first operation, the terminal can switch the file sharing interface to display in the top half of the display area of the display screen, and the file selection box Displayed in the bottom half of the display area of the display, etc.

或者,为降低文件选取框对文件分享界面中显示内容的影响,终端可以在文件分享界面中悬浮显示上述文件选取框,且终端可以根据用户对文件选取框输入的操作,移动文件选取框在文件分享界面中的显示位置,例如:如图2b所示,当终端接收到用户输入按压上述文件选取框21并向左滑动的操作时,终端将悬浮显示于文件分享界面的文件选取框向左移动,当然,终端也可以根据用户输入的操作将文件选取框向右、向下、向上或者其他任意方向移动,在此并不限定。Alternatively, in order to reduce the impact of the file selection box on the content displayed in the file sharing interface, the terminal can display the above-mentioned file selection box in a floating manner in the file sharing interface, and the terminal can move the file selection box in the file according to the operation input by the user on the file selection box. The display position in the sharing interface, for example: as shown in Figure 2b, when the terminal receives the user input to press the file selection box 21 and slide to the left, the terminal will move the file selection box floating on the file sharing interface to the left Of course, the terminal can also move the file selection box to the right, down, up or any other direction according to the operation input by the user, which is not limited here.

另外,上述文件选取框中显示有至少一个文件标识,可以是仅显示于一个文件列表中,且该一个文件列表中的文件标识按照预设规则进行排列,如按照首字的字母排序,等等。In addition, at least one file identifier is displayed in the above-mentioned file selection box, which may be displayed only in one file list, and the file identifiers in the one file list are arranged according to preset rules, such as sorting according to the alphabet of the first word, etc. .

或者,在一些实施方式中,文件选取框包括至少两个文件类别列表,且每一文件类别列表包括至少一个文件标识。Alternatively, in some implementations, the file selection box includes at least two file category lists, and each file category list includes at least one file identifier.

其中,上述至少两个文件类别列表,可以是系统默认设置的文件类别列表,也可以是终端根据用户需要设定的文件类别列表,例如:用户可以根据文件的类型,在文件选取框中设定“图片”、“音频及视频”以及“文档”等文件类别列表,等等;或者,上述至少两个文件类别列表包括两个文件列表,且所述两个文件列表中的文件标识存在的期限不同,从而可以根据文件标识在文件聊表中存在的期限对文件标识进行分类,进而可以有效提升用户选取文件标识的操作便捷性,具体地,至少两个文件类别列表包括永久文件列表和临时文件列表,且永久文件列表中的文件标识永久设置于文件选取框中,而临时文件列表中的文件标识只能在文件选取框中存在一定时间,如3天、5天或者其他用户设定的时间长度,等等,在此并不进行限定。Wherein, the above-mentioned at least two file category lists can be the file category list set by the system by default, or the file category list set by the terminal according to the needs of the user. For example, the user can set the file category in the file selection box according to the file type File category lists such as "picture", "audio and video", and "document", etc.; or, the above-mentioned at least two file category lists include two file lists, and the file identifiers in the two file lists have a period of existence Different, so that the file identifiers can be classified according to the period of time the file identifiers exist in the file chat table, and then the operation convenience for users to select file identifiers can be effectively improved. Specifically, at least two file category lists include permanent file lists and temporary files list, and the file identifiers in the permanent file list are permanently set in the file selection box, while the file identifiers in the temporary file list can only exist in the file selection box for a certain period of time, such as 3 days, 5 days or other time set by the user The length, etc., are not limited here.

另外,在上述文件选取框包括至少两个文件类别列表的情况下,第六操作为在第二文件类别列表中添加第二文件标识的操作,例如:假设如图4b所示的文件选取框41中设置有“永久”文件类别列表和“临时”文件类别列表,以及与“永久”文件类别列表关联的“永久”控件,与“临时”文件类别列表关联的“临时”控件,若用户将图片消息中图片拖动至“永久”文件类别列表中或者“永久”控件上,则该图片对应的文件标识永久设置于文件选取框41中;同理,若用户将图片消息中图片拖动至“临时”文件类别列表中或者“临时”控件上,则该图片对应的文件标识临时设置于文件选取框41中。In addition, in the case that the above-mentioned file selection box includes at least two file category lists, the sixth operation is the operation of adding a second file identifier in the second file category list, for example: suppose the file selection box 41 shown in Figure 4b There are "permanent" file category list and "temporary" file category list, as well as the "permanent" control associated with the "permanent" file category list, and the "temporary" control associated with the "temporary" file category list. If the picture in the message is dragged to the "permanent" file category list or on the "permanent" control, then the file identification corresponding to the picture is permanently set in the file selection box 41; similarly, if the user drags the picture in the picture message to the "permanent" control In the "temporary" file category list or on the "temporary" control, the file identification corresponding to the picture is temporarily set in the file selection box 41.

另外,上述终端还可以显示用于设置上述文件选取框的功能设置界面,例如:如图5所示为快捷发送文件管理界面设置界面(即上述文件选取框的功能设置界面),用户可以通过“管理界面开启”选项,设置是否开启文件选取框;或者,还可以通过“永久”选项以及“临时”选项设置文件选取框中的“永久”文件类别列表以及“临时”文件类别列表,并通过“临时存放时长”设置“临时”文件类别列表中文件标识存在的时长;或者,还可以设置文件选取框功能的应用范围,即在运行设置的目标应用程序的情况下才可以显示文件选取框,即上述文件分享界面为目标应用程序的显示界面,等等。In addition, the above-mentioned terminal can also display a function setting interface for setting the above-mentioned file selection box. For example, as shown in FIG. Management interface open" option to set whether to open the file selection box; or, you can also set the "permanent" file category list and the "temporary" file category list in the file selection box through the "permanent" option and the "temporary" option, and through the " "Temporary storage duration" sets the duration of the file identification in the "temporary" file category list; or, you can also set the application range of the file selection box function, that is, the file selection box can be displayed only when the set target application is running, that is, The above-mentioned file sharing interface is a display interface of the target application program, and so on.

在上述步骤102中,在终端显示有上述文件选取框的情况下,若终端接收到用户对第一文件标识输入的第二操作,则终端可以在上述文件分享界面中分享上述第一文件标识对应的文件。In the above-mentioned step 102, when the terminal displays the above-mentioned file selection box, if the terminal receives the second operation input by the user on the first file identifier, the terminal can share the above-mentioned first file identifier in the above-mentioned file sharing interface. document.

其中,上述第二操作可以是任何用于在文件选取框选取第一文件标识的操作,且上述第二操作可以是隔空手势操作、语音输入以及触控操作等中的至少一种,且触控操作可以包括滑动操作、点击操作或者按压操作,等等。Wherein, the above-mentioned second operation may be any operation for selecting the first file identifier in the file selection box, and the above-mentioned second operation may be at least one of air gesture operation, voice input, and touch operation, etc., and touch The control operation may include a sliding operation, a clicking operation, or a pressing operation, and the like.

示例性地,如图2b所示,当终端接收到用户由音乐1的文件名滑动至聊天界面中的目标联系人的头像上的滑动操作的情况下,该滑动操作为上述第二操作,且终端将该音乐1的音频文件1发送至该目标联系人。Exemplarily, as shown in FIG. 2b, when the terminal receives a sliding operation in which the user slides from the file name of the music 1 to the avatar of the target contact in the chat interface, the sliding operation is the above-mentioned second operation, and The terminal sends the audio file 1 of the music 1 to the target contact.

在一些实施例中,文件选取框包括至少两个文件类别列表,且每一文件类别列表包括至少一个文件标识;第二操作为:在第一文件类别列表中选取第一文件标识的操作,从而使得分享文件过程中查找需要分享的文件的文件标识的难度降低,提升文件分享的效率。In some embodiments, the file selection box includes at least two file category lists, and each file category list includes at least one file identifier; the second operation is: the operation of selecting the first file identifier in the first file category list, thereby It reduces the difficulty of finding the file identification of the file to be shared during the file sharing process, and improves the efficiency of file sharing.

示例性地,如图2b所示,文件选取框21中设置有“永久”文件类别列表和“临时”文件类别列表,以及与“永久”文件类别列表关联的“永久”控件,与“临时”文件类别列表关联的“临时”控件,且“永久”文件类别列表中包括音乐1的文件名、图片2的文件名以及文本3的文件名,“临时”文件类别列表中包括音乐4的文件名、图片5的文件名以及文本6的文件名,若终端接收到用户点击“永久”控件的操作,终端将文件选取框21显示的文件名切换为在“永久”文件类别列表的文件名,若终端再接收到用户从“永久”文件类别列表中拖动图片2的文件名的情况下,终端分享图片2,等等。Exemplarily, as shown in Figure 2b, a "permanent" file category list and a "temporary" file category list are set in the file selection box 21, as well as a "permanent" control associated with the "permanent" file category list, and a "temporary" file category list. The "temporary" control associated with the file category list, and the "permanent" file category list includes the file name of music 1, the file name of picture 2 and the file name of text 3, and the "temporary" file category list includes the file name of music 4 , the file name of picture 5 and the file name of text 6, if the terminal receives the user's operation of clicking the "permanent" control, the terminal will switch the file name displayed in the file selection box 21 to the file name in the "permanent" file category list, if When the terminal receives the file name of the picture 2 dragged by the user from the "permanent" file category list, the terminal shares the picture 2, and so on.

另外,在上述文件分享界面为即时通信应用程序的聊天界面,且该聊天界面包括至少一个联系人的情况下,上述终端在文件分享界面中分享第一文件标识关联的文件,可以是将第一文件标识关联的文件分享至聊天界面中的一个或者多个联系人,例如:如图6a所示,终端在聊天界面61中悬浮显示有文件选取框62,当终端接收到用户将“文本3”的文件名拖动至联系人3的情况下,终端将“文本3”的文件名对应的文件3发送至联系人3。In addition, when the above-mentioned file sharing interface is a chat interface of an instant messaging application program, and the chat interface includes at least one contact person, the above-mentioned terminal shares the file associated with the first file identifier in the file sharing interface, which may be the first The file associated with the file identifier is shared with one or more contacts in the chat interface. For example, as shown in Figure 6a, the terminal displays a file selection box 62 floating in the chat interface 61. When dragging the file name of "Text 3" to Contact 3, the terminal will send the file 3 corresponding to the file name of "Text 3" to Contact 3.

在一些实施方式中,文件分享界面为包括至少两个联系人的聊天界面;在接收到对第一文件标识输入的第二操作的情况下,在文件分享界面中分享第一文件标识关联的文件之前,还可以包括:在接收到第三操作的情况下,将至少两个联系人显示为待选取状态;在接收到第四操作的情况下,选中目标联系人,其中,目标联系人为处于待选取状态的至少两个联系人中的M个联系人,M为大于1的整数;在文件分享界面中分享第一文件标识关联的文件,包括:将第一文件标识关联的文件发送至目标联系人,从而可以实现同时将第一文件标识关联的文件分享给多个联系人,操作更便捷且省时。In some implementations, the file sharing interface is a chat interface including at least two contacts; in the case of receiving the second operation input to the first file identifier, share the file associated with the first file identifier in the file sharing interface Before, it may also include: in the case of receiving the third operation, displaying at least two contacts as to-be-selected; in the case of receiving the fourth operation, selecting the target contact, wherein the target contact is in the waiting state Select M contacts among the at least two contacts in the selected state, where M is an integer greater than 1; share the file associated with the first file identifier in the file sharing interface, including: sending the file associated with the first file identifier to the target contact person, so that the file associated with the first file identifier can be shared with multiple contacts at the same time, and the operation is more convenient and time-saving.

其中,上述第三操作可以是任何用于指示终端将至少两个联系人显示为待选取状态的操作;上述第四操作可以是任何用于选中目标联系人的操作,且上述第三操作和上述第四操作均可以是隔空手势操作、语音输入以及触控操作等中的至少一种,且触控操作可以包括滑动操作、点击操作或者按压操作,等等。Wherein, the above-mentioned third operation may be any operation for instructing the terminal to display at least two contacts as waiting to be selected; the above-mentioned fourth operation may be any operation for selecting a target contact, and the above-mentioned third operation and the above-mentioned The fourth operation can be at least one of air gesture operation, voice input and touch operation, and the touch operation can include sliding operation, clicking operation or pressing operation, and so on.

示例性地,当终端接收到用户在文件选取框62中输入向上滑动的操作(即第三操作)的情况下,终端可以将聊天界面中的联系人1、联系人2、联系人3以及联系人4显示为待选取状态,若终端接收到用户对联系人1、联系人2、联系人3以及联系人4的选取操作(即第四操作),则终端选中联系人1、联系人2、联系人3以及联系人4,且在终端将文件选取框62中的“文本3”的文件名拖动至联系人1、联系人2、联系人3以及联系人4中的任一个时,终端同时将文本3分享至联系人1、联系人2、联系人3以及联系人4,如图6b所示。Exemplarily, when the terminal receives the operation of sliding up (that is, the third operation) input by the user in the file selection box 62, the terminal can transfer the contact 1, contact 2, contact 3 and contact Person 4 is displayed as waiting to be selected. If the terminal receives the user's selection operation (that is, the fourth operation) on contact 1, contact 2, contact 3, and contact 4, the terminal selects contact 1, contact 2, Contact 3 and Contact 4, and when the terminal drags the file name of "Text 3" in the file selection box 62 to any one of Contact 1, Contact 2, Contact 3 and Contact 4, the terminal At the same time, the text 3 is shared with the contact 1, the contact 2, the contact 3 and the contact 4, as shown in FIG. 6b.

需要说明的是,本发明实施例中的联系人均是指该联系人对应的其他终端或者电子设备等。It should be noted that the contacts in the embodiments of the present invention refer to other terminals or electronic devices corresponding to the contacts.

本发明实施例中,通过在终端显示有文件分享界面且接收到第一操作的情况下,在文件分享界面中的部分显示区域内显示文件选取框,其中,文件选取框中显示有至少一个文件标识,且不同文件标识与不同文件关联;在接收到对第一文件标识输入的第二操作的情况下,在文件分享界面中分享第一文件标识关联的文件,其中,第一文件标识包括至少一个文件标识中部分或者全部标识,从而使终端在分享文件的过程中的操作便捷且省时。In the embodiment of the present invention, when the terminal displays a file sharing interface and receives the first operation, a file selection box is displayed in a part of the display area of the file sharing interface, wherein at least one file is displayed in the file selection box identification, and different file identifications are associated with different files; in the case of receiving the second operation input to the first file identification, share the file associated with the first file identification in the file sharing interface, wherein the first file identification includes at least Part or all of a file identifier can be identified, so that the operation of the terminal in the process of sharing files is convenient and time-saving.

请参见图7,图7是本发明实施例提供的一种终端的结构示意图,如图7所示,所述终端700包括:Please refer to FIG. 7. FIG. 7 is a schematic structural diagram of a terminal provided by an embodiment of the present invention. As shown in FIG. 7, the terminal 700 includes:

第一显示模块701,用于显示文件分享界面;A first display module 701, configured to display a file sharing interface;

第二显示模块702,用于在接收到第一操作的情况下,在所述文件分享界面中的部分显示区域内显示文件选取框,其中,所述文件选取框中显示有至少一个文件标识,且不同文件标识与不同文件关联;The second display module 702 is configured to display a file selection box in a partial display area of the file sharing interface when the first operation is received, wherein at least one file identifier is displayed in the file selection box, And different file identifiers are associated with different files;

分享模块703,用于在接收到对第一文件标识输入的第二操作的情况下,在所述文件分享界面中分享所述第一文件标识关联的文件,其中,所述第一文件标识包括所述至少一个文件标识中部分或者全部标识。The sharing module 703 is configured to share the file associated with the first file identifier in the file sharing interface in the case of receiving the second operation input on the first file identifier, wherein the first file identifier includes Part or all of the at least one file identifier.

可选的,所述文件分享界面为包括至少两个联系人的聊天界面;Optionally, the file sharing interface is a chat interface including at least two contacts;

所述终端700,还包括:The terminal 700 also includes:

第三显示模块,用于在接收到第三操作的情况下,将所述至少两个联系人显示为待选取状态;A third display module, configured to display the at least two contacts as to-be-selected when the third operation is received;

选取模块,用于在接收到第四操作的情况下,选中目标联系人,其中,所述目标联系人为处于待选取状态的至少两个联系人中的M个联系人,所述M为大于1的整数;A selecting module, configured to select a target contact in the case of receiving the fourth operation, wherein the target contact is M contacts among the at least two contacts to be selected, and M is greater than 1 an integer of

所述分享模块703,具体用于:The sharing module 703 is specifically used for:

将所述第一文件标识关联的文件发送至所述目标联系人。Sending the file associated with the first file identifier to the target contact.

可选的,所述终端700,还包括:Optionally, the terminal 700 further includes:

第四显示模块,用于在接收到在所述终端的当前界面中输入的第五操作的情况下,在所述终端的当前界面中显示所述文件选取框;The fourth display module is configured to display the file selection box in the current interface of the terminal when the fifth operation input in the current interface of the terminal is received;

标识添加模块,用于在接收到对所述终端的当前界面中的目标文件输入的第六操作的情况下,在所述文件选取框中添加所述目标文件对应的第二文件标识。The identification adding module is configured to add a second file identification corresponding to the target file in the file selection box when the sixth operation of inputting the target file in the current interface of the terminal is received.

可选的,所述终端700,还包括:Optionally, the terminal 700 further includes:

第五显示模块,用于在接收到对所述第二文件标识输入的第七操作的情况下,显示所述目标文件的文件编辑框;The fifth display module is configured to display the file edit box of the target file when the seventh operation input on the second file identification is received;

编辑模块,用于在接收到在所述文件编辑框中输入的编辑操作的情况下,对所述目标文件进行与所述编辑操作对应的编辑处理。The editing module is configured to, when receiving an editing operation input in the file editing box, perform editing processing corresponding to the editing operation on the target file.

可选的,所述第五显示模块,具体用于:Optionally, the fifth display module is specifically used for:

在所述终端的当前界面中悬浮显示所述目标文件的文件编辑窗口;或者,In the current interface of the terminal, a file editing window of the target file is suspended; or,

启动所述目标文件关联的文件编辑应用程序,并显示所述文件编辑应用程序的文件编辑界面。Start the file editing application program associated with the target file, and display the file editing interface of the file editing application program.

可选的,所述文件选取框包括至少两个文件类别列表,且每一文件类别列表包括至少一个文件标识;Optionally, the file selection box includes at least two file category lists, and each file category list includes at least one file identifier;

所述第二操作为:在第一文件类别列表中选取第一文件标识的操作。The second operation is an operation of selecting the first file identifier in the first file category list.

可选的,所述至少两个文件类别列表包括两个文件列表,且所述两个文件列表中的文件标识存在的期限不同。Optionally, the at least two file category lists include two file lists, and the file identifiers in the two file lists have different existence periods.

终端700能够实现前述实施例中终端实现的各个过程且达到相同的有益效果,为避免重复,这里不再赘述。The terminal 700 can implement the various processes implemented by the terminal in the foregoing embodiments and achieve the same beneficial effect, and to avoid repetition, details are not described here.

图8为实现本发明各个实施例的一种终端的硬件结构示意图,该终端800包括但不限于:射频单元801、网络模块802、音频输出单元803、输入单元804、传感器805、显示单元806、用户输入单元807、接口单元808、存储器809、处理器810、以及电源811等部件。其中,显示单元806为显示屏。本领域技术人员可以理解,图8中示出的终端结构并不构成对终端的限定,终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,终端包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。8 is a schematic diagram of a hardware structure of a terminal implementing various embodiments of the present invention. The terminal 800 includes but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, User input unit 807, interface unit 808, memory 809, processor 810, power supply 811 and other components. Wherein, the display unit 806 is a display screen. Those skilled in the art can understand that the terminal structure shown in FIG. 8 does not constitute a limitation on the terminal, and the terminal may include more or less components than shown in the figure, or combine certain components, or arrange different components. In the embodiment of the present invention, the terminals include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminals, wearable devices, and pedometers.

其中,上述处理器810,用于:Wherein, the above-mentioned processor 810 is used for:

控制显示单元806显示文件分享界面;controlling the display unit 806 to display the file sharing interface;

在接收到第一操作的情况下,控制显示单元806在所述文件分享界面中的部分显示区域内显示文件选取框,其中,所述文件选取框中显示有至少一个文件标识,且不同文件标识与不同文件关联;When the first operation is received, the control display unit 806 displays a file selection box in a partial display area of the file sharing interface, wherein at least one file identifier is displayed in the file selection box, and different file identifiers associated with different files;

在接收到对第一文件标识输入的第二操作的情况下,在所述文件分享界面中分享所述第一文件标识关联的文件,其中,所述第一文件标识包括所述至少一个文件标识中部分或者全部标识。In the case of receiving the second operation of inputting the first file identifier, share the file associated with the first file identifier in the file sharing interface, wherein the first file identifier includes the at least one file identifier Part or all of the identities.

可选的,所述文件分享界面为包括至少两个联系人的聊天界面;Optionally, the file sharing interface is a chat interface including at least two contacts;

所述处理器810,还用于:The processor 810 is further configured to:

在接收到第三操作的情况下,控制显示单元806将所述至少两个联系人显示为待选取状态;When the third operation is received, control the display unit 806 to display the at least two contacts as to-be-selected;

在接收到第四操作的情况下,选中目标联系人,其中,所述目标联系人为处于待选取状态的至少两个联系人中的M个联系人,所述M为大于1的整数;When the fourth operation is received, the target contact is selected, wherein the target contact is M contacts among the at least two contacts to be selected, and M is an integer greater than 1;

控制射频单元801将所述第一文件标识关联的文件发送至所述目标联系人。The radio frequency unit 801 is controlled to send the file associated with the first file identifier to the target contact.

可选的,处理器810,还用于:Optionally, the processor 810 is also used for:

在接收到在所述终端的当前界面中输入的第五操作的情况下,控制显示单元806在所述终端的当前界面中显示所述文件选取框;In the case of receiving a fifth operation input in the current interface of the terminal, controlling the display unit 806 to display the file selection box in the current interface of the terminal;

在接收到对所述终端的当前界面中的目标文件输入的第六操作的情况下,在所述文件选取框中添加所述目标文件对应的第二文件标识。In the case of receiving the sixth operation of inputting the target file in the current interface of the terminal, adding a second file identifier corresponding to the target file in the file selection box.

可选的,处理器810,还用于:Optionally, the processor 810 is also used for:

在接收到对所述第二文件标识输入的第七操作的情况下,控制显示单元806显示所述目标文件的文件编辑框;In the case of receiving the seventh operation of inputting the second file identifier, controlling the display unit 806 to display the file edit box of the target file;

在接收到在所述文件编辑框中输入的编辑操作的情况下,对所述目标文件进行与所述编辑操作对应的编辑处理。When an editing operation input in the file editing box is received, an editing process corresponding to the editing operation is performed on the target file.

可选的,处理器810,具体用于:Optionally, the processor 810 is specifically used for:

控制显示单元806在所述终端的当前界面中悬浮显示所述目标文件的文件编辑窗口;或者,Controlling the display unit 806 to suspend and display the file editing window of the target file in the current interface of the terminal; or,

启动所述目标文件关联的文件编辑应用程序,并控制显示单元806显示所述文件编辑应用程序的文件编辑界面。Start the file editing application program associated with the target file, and control the display unit 806 to display the file editing interface of the file editing application program.

可选的,所述文件选取框包括至少两个文件类别列表,且每一文件类别列表包括至少一个文件标识;Optionally, the file selection box includes at least two file category lists, and each file category list includes at least one file identifier;

所述第二操作为:在第一文件类别列表中选取第一文件标识的操作。The second operation is an operation of selecting the first file identifier in the first file category list.

可选的,所述至少两个文件类别列表包括两个文件列表,且所述两个文件列表中的文件标识存在的期限不同。Optionally, the at least two file category lists include two file lists, and the file identifiers in the two file lists have different existence periods.

终端800能够实现前述实施例中终端实现的各个过程且达到相同的有益效果,为避免重复,这里不再赘述。The terminal 800 can implement various processes implemented by the terminal in the foregoing embodiments and achieve the same beneficial effect, and to avoid repetition, details are not described here.

应理解的是,本发明实施例中,射频单元801可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器810处理;另外,将上行的数据发送给基站。通常,射频单元801包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元801还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present invention, the radio frequency unit 801 can be used for receiving and sending signals during sending and receiving information or during a call. Specifically, after receiving the downlink data from the base station, the processor 810 processes it; Uplink data is sent to the base station. Generally, the radio frequency unit 801 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 801 can also communicate with the network and other devices through a wireless communication system.

终端通过网络模块802为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The terminal provides users with wireless broadband Internet access through the network module 802, such as helping users send and receive emails, browse web pages, and access streaming media.

音频输出单元803可以将射频单元801或网络模块802接收的或者在存储器809中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元803还可以提供与终端800执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元803包括扬声器、蜂鸣器以及受话器等。The audio output unit 803 may convert audio data received by the radio frequency unit 801 or the network module 802 or stored in the memory 809 into an audio signal and output as sound. Also, the audio output unit 803 may also provide audio output related to a specific function performed by the terminal 800 (for example, call signal reception sound, message reception sound, etc.). The audio output unit 803 includes a speaker, a buzzer, a receiver, and the like.

输入单元804用于接收音频或视频信号。输入单元804可以包括图形处理器(Graphics Processing Unit,GPU)8041和麦克风8042,图形处理器8041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元806上。经图形处理器8041处理后的图像帧可以存储在存储器809(或其它存储介质)中或者经由射频单元801或网络模块802进行发送。麦克风8042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元801发送到移动通信基站的格式输出。The input unit 804 is used for receiving audio or video signals. The input unit 804 may include a graphics processing unit (Graphics Processing Unit, GPU) 8041 and a microphone 8042, and the graphics processing unit 8041 is used for still pictures or video images obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The data is processed. The processed image frames may be displayed on the display unit 806 . The image frames processed by the graphics processor 8041 may be stored in the memory 809 (or other storage media) or sent via the radio frequency unit 801 or the network module 802 . The microphone 8042 can receive sound, and can process such sound into audio data. The processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 801 for output in the case of a phone call mode.

终端800还包括至少一种传感器805,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板8061的亮度,接近传感器可在终端800移动到耳边时,关闭显示面板8061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别终端姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器805还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The terminal 800 also includes at least one sensor 805, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 8061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 8061 and/or when the terminal 800 moves to the ear. or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is stationary, and can be used to identify terminal posture (such as horizontal and vertical screen switching, related games, Magnetometer posture calibration), vibration recognition related functions (such as pedometer, knocking), etc.; sensor 805 can also include fingerprint sensor, pressure sensor, iris sensor, molecular sensor, gyroscope, barometer, hygrometer, thermometer, infrared ray Sensors, etc., will not be described in detail here.

显示单元806用于显示由用户输入的信息或提供给用户的信息。显示单元806可包括显示面板8061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板8061。The display unit 806 is used to display information input by the user or information provided to the user. The display unit 806 may include a display panel 8061, and the display panel 8061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like.

用户输入单元807可用于接收输入的数字或字符信息,以及产生与终端的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元807包括触控面板8071以及其他输入设备8072。触控面板8071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板8071上或在触控面板8071附近的操作)。触控面板8071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器810,接收处理器810发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板8071。除了触控面板8071,用户输入单元807还可以包括其他输入设备8072。具体地,其他输入设备8072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 807 can be used to receive input numbers or character information, and generate key signal input related to user settings and function control of the terminal. Specifically, the user input unit 807 includes a touch panel 8071 and other input devices 8072 . The touch panel 8071, also referred to as a touch screen, can collect touch operations of the user on or near it (for example, the user uses any suitable object or accessory such as a finger or a stylus on the touch panel 8071 or near the touch panel 8071). operate). The touch panel 8071 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to For the processor 810, receive the command sent by the processor 810 and execute it. In addition, the touch panel 8071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 8071 , the user input unit 807 may also include other input devices 8072 . Specifically, other input devices 8072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.

进一步的,触控面板8071可覆盖在显示面板8061上,当触控面板8071检测到在其上或附近的触摸操作后,传送给处理器810以确定触摸事件的类型,随后处理器810根据触摸事件的类型在显示面板8061上提供相应的视觉输出。虽然在图8中,触控面板8071与显示面板8061是作为两个独立的部件来实现终端的输入和输出功能,但是在某些实施例中,可以将触控面板8071与显示面板8061集成而实现终端的输入和输出功能,具体此处不做限定。Furthermore, the touch panel 8071 can be covered on the display panel 8061, and when the touch panel 8071 detects a touch operation on or near it, it will be sent to the processor 810 to determine the type of the touch event, and then the processor 810 will The type of event provides a corresponding visual output on the display panel 8061. Although in FIG. 8, the touch panel 8071 and the display panel 8061 are used as two independent components to realize the input and output functions of the terminal, in some embodiments, the touch panel 8071 and the display panel 8061 can be integrated to Realize the input and output functions of the terminal, which is not limited here.

接口单元808为外部装置与终端800连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元808可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到终端800内的一个或多个元件或者可以用于在终端800和外部装置之间传输数据。The interface unit 808 is an interface for connecting an external device to the terminal 800 . For example, an external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) ports, video I/O ports, headphone ports, and more. The interface unit 808 may be used to receive input from an external device (for example, data information, power, etc.) transfer data between.

存储器809可用于存储软件程序以及各种数据。存储器809可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器809可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 809 can be used to store software programs as well as various data. The memory 809 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application program required by a function (such as a sound playback function, an image playback function, etc.); Data created by the use of mobile phones (such as audio data, phonebook, etc.), etc. In addition, the memory 809 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.

处理器810是终端的控制中心,利用各种接口和线路连接整个终端的各个部分,通过运行或执行存储在存储器809内的软件程序和/或模块,以及调用存储在存储器809内的数据,执行终端的各种功能和处理数据,从而对终端进行整体监控。处理器810可包括一个或多个处理单元;优选的,处理器810可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器810中。The processor 810 is the control center of the terminal. It uses various interfaces and lines to connect various parts of the entire terminal. By running or executing software programs and/or modules stored in the memory 809, and calling data stored in the memory 809, execution Various functions and processing data of the terminal, so as to monitor the terminal as a whole. The processor 810 may include one or more processing units; preferably, the processor 810 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface and application programs, etc., and the modem The processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 810 .

终端800还可以包括给各个部件供电的电源811(比如电池),优选的,电源811可以通过电源管理系统与处理器810逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The terminal 800 may also include a power supply 811 (such as a battery) for supplying power to various components. Preferably, the power supply 811 may be logically connected to the processor 810 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Function.

另外,终端800包括一些未示出的功能模块,在此不再赘述。In addition, the terminal 800 includes some functional modules not shown, which will not be repeated here.

优选的,本发明实施例还提供一种终端,包括处理器810、存储器809及存储在存储器809上并可在处理器810上运行的计算机程序,该计算机程序被处理器810执行时实现上述文件分享方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, the embodiment of the present invention also provides a terminal, including a processor 810, a memory 809, and a computer program stored in the memory 809 and operable on the processor 810. When the computer program is executed by the processor 810, the above-mentioned file Each process of the method embodiment is shared and can achieve the same technical effect. To avoid repetition, details are not repeated here.

本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述文件分享方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。The embodiment of the present invention also provides a computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above-mentioned file sharing method embodiment is realized, and the same technology can be achieved. Effect, in order to avoid repetition, will not repeat them here. Wherein, the computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk or an optical disk, and the like.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products are stored in a storage medium (such as ROM/RAM, disk, CD-ROM), including several instructions to make a terminal (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) execute the method of each embodiment of the present invention.

上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。Embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementations, and the above-mentioned specific implementations are only illustrative, rather than restrictive, and those of ordinary skill in the art will Under the enlightenment of the present invention, without departing from the gist of the present invention and the protection scope of the claims, many forms can also be made, all of which belong to the protection of the present invention.

Claims (16)

1.一种文件分享方法,应用于终端,其特征在于,所述方法包括:1. A file sharing method applied to a terminal, characterized in that the method comprises: 显示文件分享界面;Display the file sharing interface; 在接收到第一操作的情况下,在所述文件分享界面中的部分显示区域内显示文件选取框,其中,所述文件选取框中显示有至少一个文件标识,且不同文件标识与不同文件关联;When the first operation is received, a file selection box is displayed in a partial display area of the file sharing interface, wherein at least one file identifier is displayed in the file selection box, and different file identifiers are associated with different files ; 在接收到对第一文件标识输入的第二操作的情况下,在所述文件分享界面中分享所述第一文件标识关联的文件,其中,所述第一文件标识包括所述至少一个文件标识中部分或者全部标识。In the case of receiving the second operation of inputting the first file identifier, share the file associated with the first file identifier in the file sharing interface, wherein the first file identifier includes the at least one file identifier Part or all of the identities. 2.根据权利要求1所述的方法,其特征在于,所述文件分享界面为包括至少两个联系人的聊天界面;2. The method according to claim 1, wherein the file sharing interface is a chat interface including at least two contacts; 所述在接收到对第一文件标识输入的第二操作的情况下,在所述文件分享界面中分享所述第一文件标识关联的文件之前,还包括:In the case of receiving the second operation input to the first file identifier, before sharing the file associated with the first file identifier in the file sharing interface, the method further includes: 在接收到第三操作的情况下,将所述至少两个联系人显示为待选取状态;In the case of receiving the third operation, displaying the at least two contacts as a state to be selected; 在接收到第四操作的情况下,选中目标联系人,其中,所述目标联系人为处于待选取状态的至少两个联系人中的M个联系人,所述M为大于1的整数;When the fourth operation is received, the target contact is selected, wherein the target contact is M contacts among the at least two contacts to be selected, and M is an integer greater than 1; 所述在所述文件分享界面中分享所述第一文件标识关联的文件,包括:The sharing of the file associated with the first file identifier in the file sharing interface includes: 将所述第一文件标识关联的文件发送至所述目标联系人。Sending the file associated with the first file identifier to the target contact. 3.根据权利要求1或者2所述的方法,其特征在于,所述在接收到第一操作的情况下,在所述文件分享界面中的部分显示区域内显示文件选取框之前,还包括:3. The method according to claim 1 or 2, wherein, in the case of receiving the first operation, before displaying the file selection box in the partial display area of the file sharing interface, further comprising: 在接收到在所述终端的当前界面中输入的第五操作的情况下,在所述终端的当前界面中显示所述文件选取框;In the case of receiving a fifth operation input in the current interface of the terminal, displaying the file selection box in the current interface of the terminal; 在接收到对所述终端的当前界面中的目标文件输入的第六操作的情况下,在所述文件选取框中添加所述目标文件对应的第二文件标识。In the case of receiving the sixth operation of inputting the target file in the current interface of the terminal, adding a second file identifier corresponding to the target file in the file selection box. 4.根据权利要求3所述的方法,其特征在于,所述在所述文件选取框中添加所述目标文件对应的第二文件标识之后,还包括:4. The method according to claim 3, characterized in that, after adding the second file identifier corresponding to the target file in the file selection box, further comprising: 在接收到对所述第二文件标识输入的第七操作的情况下,显示所述目标文件的文件编辑框;In the case of receiving the seventh operation of inputting the second file identification, displaying the file edit box of the target file; 在接收到在所述文件编辑框中输入的编辑操作的情况下,对所述目标文件进行与所述编辑操作对应的编辑处理。When an editing operation input in the file editing box is received, an editing process corresponding to the editing operation is performed on the target file. 5.根据权利要求4所述的方法,其特征在于,所述显示所述目标文件的文件编辑框,包括:5. The method according to claim 4, wherein the file edit box for displaying the target file comprises: 在所述终端的当前界面中悬浮显示所述目标文件的文件编辑窗口;或者,In the current interface of the terminal, a file editing window of the target file is suspended; or, 启动所述目标文件关联的文件编辑应用程序,并显示所述文件编辑应用程序的文件编辑界面。Start the file editing application program associated with the target file, and display the file editing interface of the file editing application program. 6.根据权利要求1所述的方法,其特征在于,所述文件选取框包括至少两个文件类别列表,且每一文件类别列表包括至少一个文件标识;6. The method according to claim 1, wherein the file selection box includes at least two file category lists, and each file category list includes at least one file identifier; 所述第二操作为:在第一文件类别列表中选取第一文件标识的操作。The second operation is an operation of selecting the first file identifier in the first file category list. 7.根据权利要求6所述的方法,其特征在于,所述至少两个文件类别列表包括两个文件列表,且所述两个文件列表中的文件标识存在的期限不同。7. The method according to claim 6, wherein the at least two file category lists comprise two file lists, and the file identifiers in the two file lists have different existence periods. 8.一种终端,其特征在于,包括:8. A terminal, characterized in that, comprising: 第一显示模块,用于显示文件分享界面;a first display module, configured to display a file sharing interface; 第二显示模块,用于在接收到第一操作的情况下,在所述文件分享界面中的部分显示区域内显示文件选取框,其中,所述文件选取框中显示有至少一个文件标识,且不同文件标识与不同文件关联;The second display module is configured to display a file selection box in a partial display area of the file sharing interface when the first operation is received, wherein at least one file identifier is displayed in the file selection box, and Different file identifiers are associated with different files; 分享模块,用于在接收到对第一文件标识输入的第二操作的情况下,在所述文件分享界面中分享所述第一文件标识关联的文件,其中,所述第一文件标识包括所述至少一个文件标识中部分或者全部标识。A sharing module, configured to share the file associated with the first file identifier in the file sharing interface in the case of receiving the second operation input on the first file identifier, wherein the first file identifier includes the part or all of the at least one file identifier. 9.根据权利要求8所述的终端,其特征在于,所述文件分享界面为包括至少两个联系人的聊天界面;9. The terminal according to claim 8, wherein the file sharing interface is a chat interface including at least two contacts; 所述终端,还包括:The terminal also includes: 第三显示模块,用于在接收到第三操作的情况下,将所述至少两个联系人显示为待选取状态;A third display module, configured to display the at least two contacts as to-be-selected when the third operation is received; 选取模块,用于在接收到第四操作的情况下,选中目标联系人,其中,所述目标联系人为处于待选取状态的至少两个联系人中的M个联系人,所述M为大于1的整数;A selecting module, configured to select a target contact in the case of receiving the fourth operation, wherein the target contact is M contacts among the at least two contacts to be selected, and M is greater than 1 an integer of 所述分享模块,具体用于:The sharing module is specifically used for: 将所述第一文件标识关联的文件发送至所述目标联系人。Sending the file associated with the first file identifier to the target contact. 10.根据权利要求8或者9所述的终端,其特征在于,所述终端,还包括:10. The terminal according to claim 8 or 9, wherein the terminal further comprises: 第四显示模块,用于在接收到在所述终端的当前界面中输入的第五操作的情况下,在所述终端的当前界面中显示所述文件选取框;The fourth display module is configured to display the file selection box in the current interface of the terminal when the fifth operation input in the current interface of the terminal is received; 标识添加模块,用于在接收到对所述终端的当前界面中的目标文件输入的第六操作的情况下,在所述文件选取框中添加所述目标文件对应的第二文件标识。The identification adding module is configured to add a second file identification corresponding to the target file in the file selection box when the sixth operation of inputting the target file in the current interface of the terminal is received. 11.根据权利要求10所述的终端,其特征在于,所述终端,还包括:11. The terminal according to claim 10, further comprising: 第五显示模块,用于在接收到对所述第二文件标识输入的第七操作的情况下,显示所述目标文件的文件编辑框;The fifth display module is configured to display the file edit box of the target file when the seventh operation input on the second file identification is received; 编辑模块,用于在接收到在所述文件编辑框中输入的编辑操作的情况下,对所述目标文件进行与所述编辑操作对应的编辑处理。The editing module is configured to, when receiving an editing operation input in the file editing box, perform editing processing corresponding to the editing operation on the target file. 12.根据权利要求11所述的终端,其特征在于,所述第五显示模块,具体用于:12. The terminal according to claim 11, wherein the fifth display module is specifically used for: 在所述终端的当前界面中悬浮显示所述目标文件的文件编辑窗口;或者,In the current interface of the terminal, a file editing window of the target file is suspended; or, 启动所述目标文件关联的文件编辑应用程序,并显示所述文件编辑应用程序的文件编辑界面。Start the file editing application program associated with the target file, and display the file editing interface of the file editing application program. 13.根据权利要求8所述的终端,其特征在于,所述文件选取框包括至少两个文件类别列表,且每一文件类别列表包括至少一个文件标识;13. The terminal according to claim 8, wherein the file selection box includes at least two file category lists, and each file category list includes at least one file identifier; 所述第二操作为:在第一文件类别列表中选取第一文件标识的操作。The second operation is an operation of selecting the first file identifier in the first file category list. 14.根据权利要求13所述的终端,其特征在于,所述至少两个文件类别列表包括两个文件列表,且所述两个文件列表中的文件标识存在的期限不同。14. The terminal according to claim 13, wherein the at least two file category lists comprise two file lists, and the file identifiers in the two file lists have different existence periods. 15.一种终端,其特征在于,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至7中任一项所述的文件分享方法的步骤。15. A terminal, characterized by comprising a processor, a memory, and a computer program stored on the memory and operable on the processor, when the computer program is executed by the processor, the computer program according to claim Steps of the file sharing method described in any one of 1 to 7. 16.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至7中任一项所述的文件分享方法的步骤。16. A computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the method according to any one of claims 1 to 7 is realized. Steps of the file sharing method.
CN201910339256.8A 2019-04-25 2019-04-25 Sharing files method and terminal Pending CN110321044A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910339256.8A CN110321044A (en) 2019-04-25 2019-04-25 Sharing files method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910339256.8A CN110321044A (en) 2019-04-25 2019-04-25 Sharing files method and terminal

Publications (1)

Publication Number Publication Date
CN110321044A true CN110321044A (en) 2019-10-11

Family

ID=68113183

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910339256.8A Pending CN110321044A (en) 2019-04-25 2019-04-25 Sharing files method and terminal

Country Status (1)

Country Link
CN (1) CN110321044A (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111061574A (en) * 2019-11-27 2020-04-24 维沃移动通信有限公司 Object sharing method and electronic device
CN111258420A (en) * 2020-01-13 2020-06-09 维沃移动通信有限公司 Information interaction method, head-mounted device and medium
CN111309218A (en) * 2020-02-11 2020-06-19 维沃移动通信有限公司 Information display method and device and electronic equipment
CN111858522A (en) * 2020-08-06 2020-10-30 Oppo广东移动通信有限公司 File sharing method, device, terminal and storage medium
CN111857468A (en) * 2020-07-01 2020-10-30 Oppo广东移动通信有限公司 Content sharing method and device, device and storage medium
CN112163398A (en) * 2020-09-30 2021-01-01 金蝶软件(中国)有限公司 Chart sharing method and related equipment thereof
CN112286887A (en) * 2020-10-30 2021-01-29 维沃移动通信有限公司 File sharing method and device and electronic equipment
CN112333084A (en) * 2020-10-30 2021-02-05 维沃移动通信有限公司 File transmission method, device and electronic device
CN113452744A (en) * 2021-03-30 2021-09-28 维沃移动通信有限公司 File sharing method, device, equipment and storage medium
CN113568538A (en) * 2021-08-13 2021-10-29 北京字跳网络技术有限公司 Interaction method, device, equipment and storage medium
CN113849092A (en) * 2021-09-18 2021-12-28 维沃移动通信有限公司 Content sharing method and device and electronic equipment
WO2022068803A1 (en) * 2020-09-30 2022-04-07 维沃移动通信有限公司 File processing method and apparatus, and electronic device
CN114528431A (en) * 2022-02-25 2022-05-24 维沃移动通信有限公司 Information list management method and device
CN115079889A (en) * 2022-06-10 2022-09-20 北京字跳网络技术有限公司 Information processing method, device, equipment, medium and product
CN115174282A (en) * 2022-06-29 2022-10-11 北京字跳网络技术有限公司 Information interaction method, device, equipment and medium
CN117319755A (en) * 2023-11-28 2023-12-29 深圳大智软件技术有限公司 Short video communication information sharing method and system
WO2024193642A1 (en) * 2023-03-23 2024-09-26 华为技术有限公司 Data sharing method and electronic device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105955569A (en) * 2016-04-25 2016-09-21 乐视控股(北京)有限公司 File sharing method and apparatus
CN106293338A (en) * 2016-08-01 2017-01-04 乐视控股(北京)有限公司 Multimedia file sharing method and system
CN106339155A (en) * 2016-08-26 2017-01-18 乐视控股(北京)有限公司 File sharing method and device
CN106354377A (en) * 2015-07-13 2017-01-25 阿里巴巴集团控股有限公司 Method and device for quickly sharing file
CN106878464A (en) * 2017-03-31 2017-06-20 努比亚技术有限公司 A kind of document display method and device
CN108536365A (en) * 2018-03-16 2018-09-14 维沃移动通信有限公司 A kind of images share method and terminal
CN108646960A (en) * 2018-04-25 2018-10-12 维沃移动通信有限公司 A kind of document handling method and flexible screen terminal
CN109510881A (en) * 2019-01-25 2019-03-22 北京字节跳动网络技术有限公司 Method, apparatus, electronic equipment and the readable storage medium storing program for executing of sharing files

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106354377A (en) * 2015-07-13 2017-01-25 阿里巴巴集团控股有限公司 Method and device for quickly sharing file
CN105955569A (en) * 2016-04-25 2016-09-21 乐视控股(北京)有限公司 File sharing method and apparatus
CN106293338A (en) * 2016-08-01 2017-01-04 乐视控股(北京)有限公司 Multimedia file sharing method and system
CN106339155A (en) * 2016-08-26 2017-01-18 乐视控股(北京)有限公司 File sharing method and device
CN106878464A (en) * 2017-03-31 2017-06-20 努比亚技术有限公司 A kind of document display method and device
CN108536365A (en) * 2018-03-16 2018-09-14 维沃移动通信有限公司 A kind of images share method and terminal
CN108646960A (en) * 2018-04-25 2018-10-12 维沃移动通信有限公司 A kind of document handling method and flexible screen terminal
CN109510881A (en) * 2019-01-25 2019-03-22 北京字节跳动网络技术有限公司 Method, apparatus, electronic equipment and the readable storage medium storing program for executing of sharing files

Cited By (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111061574A (en) * 2019-11-27 2020-04-24 维沃移动通信有限公司 Object sharing method and electronic device
CN111061574B (en) * 2019-11-27 2024-04-26 维沃移动通信有限公司 Object sharing method and electronic device
CN111258420A (en) * 2020-01-13 2020-06-09 维沃移动通信有限公司 Information interaction method, head-mounted device and medium
CN111258420B (en) * 2020-01-13 2023-02-21 维沃移动通信有限公司 Information interaction method, head-mounted device and medium
CN111309218A (en) * 2020-02-11 2020-06-19 维沃移动通信有限公司 Information display method and device and electronic equipment
CN111857468A (en) * 2020-07-01 2020-10-30 Oppo广东移动通信有限公司 Content sharing method and device, device and storage medium
WO2022028185A1 (en) * 2020-08-06 2022-02-10 Oppo广东移动通信有限公司 File sharing method and apparatus, and terminal and storage medium
CN111858522B (en) * 2020-08-06 2024-07-02 Oppo广东移动通信有限公司 File sharing method, device, terminal and storage medium
CN111858522A (en) * 2020-08-06 2020-10-30 Oppo广东移动通信有限公司 File sharing method, device, terminal and storage medium
EP4195063A4 (en) * 2020-08-06 2023-12-13 Guangdong Oppo Mobile Telecommunications Corp., Ltd. File sharing method and apparatus, and terminal and storage medium
WO2022068803A1 (en) * 2020-09-30 2022-04-07 维沃移动通信有限公司 File processing method and apparatus, and electronic device
CN112163398B (en) * 2020-09-30 2024-06-18 金蝶软件(中国)有限公司 Graph sharing method and related equipment thereof
CN112163398A (en) * 2020-09-30 2021-01-01 金蝶软件(中国)有限公司 Chart sharing method and related equipment thereof
CN112333084B (en) * 2020-10-30 2022-02-08 维沃移动通信有限公司 File sending method and device and electronic equipment
WO2022089568A1 (en) * 2020-10-30 2022-05-05 维沃移动通信有限公司 File sharing method and apparatus, and electronic device
CN112286887A (en) * 2020-10-30 2021-01-29 维沃移动通信有限公司 File sharing method and device and electronic equipment
CN112333084A (en) * 2020-10-30 2021-02-05 维沃移动通信有限公司 File transmission method, device and electronic device
CN113452744A (en) * 2021-03-30 2021-09-28 维沃移动通信有限公司 File sharing method, device, equipment and storage medium
CN113568538A (en) * 2021-08-13 2021-10-29 北京字跳网络技术有限公司 Interaction method, device, equipment and storage medium
CN113849092A (en) * 2021-09-18 2021-12-28 维沃移动通信有限公司 Content sharing method and device and electronic equipment
CN114528431A (en) * 2022-02-25 2022-05-24 维沃移动通信有限公司 Information list management method and device
CN115079889A (en) * 2022-06-10 2022-09-20 北京字跳网络技术有限公司 Information processing method, device, equipment, medium and product
CN115174282A (en) * 2022-06-29 2022-10-11 北京字跳网络技术有限公司 Information interaction method, device, equipment and medium
WO2024193642A1 (en) * 2023-03-23 2024-09-26 华为技术有限公司 Data sharing method and electronic device
CN117319755A (en) * 2023-11-28 2023-12-29 深圳大智软件技术有限公司 Short video communication information sharing method and system
CN117319755B (en) * 2023-11-28 2024-05-17 深圳大智软件技术有限公司 Short video communication information sharing method and system

Similar Documents

Publication Publication Date Title
CN110321044A (en) Sharing files method and terminal
EP3822778B1 (en) Method for displaying background application and mobile terminal
CN109343755B (en) File processing method and terminal equipment
CN108762954A (en) A kind of object sharing method and mobile terminal
CN110909524B (en) Editing method and electronic equipment
CN108255378A (en) A kind of display control method and mobile terminal
CN108536365A (en) A kind of images share method and terminal
CN110798397A (en) File transmission method, device and electronic device
CN108563378A (en) A kind of information management method and terminal
CN109739407B (en) Information processing method and terminal equipment
CN108519851A (en) A kind of interface switching method and mobile terminal
CN108052251A (en) A kind of screenshotss method for information display and mobile terminal
CN111338530A (en) Application icon control method and electronic device
CN108519850A (en) A keyboard interface display method and mobile terminal
WO2021238719A1 (en) Information display method and electronic device
CN108228902B (en) A file display method and mobile terminal
CN108182267A (en) A kind of sharing files method and mobile terminal
CN108108110A (en) A kind of screen control method, screen control device and mobile terminal
CN110321046A (en) A kind of content selecting method and terminal
CN108334265A (en) A kind of document handling method and mobile terminal
CN108763540A (en) A kind of file browsing method and terminal
CN109800095B (en) Notification message processing method and mobile terminal
CN111274054A (en) Message processing method and electronic device
CN108446339B (en) Application icon classification method and mobile terminal
CN110413363A (en) A screenshot method and terminal equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20191011

RJ01 Rejection of invention patent application after publication