CN114461577A - Method, apparatus, device, and computer-readable storage medium for folder viewing - Google Patents
Method, apparatus, device, and computer-readable storage medium for folder viewing Download PDFInfo
- Publication number
- CN114461577A CN114461577A CN202110653907.8A CN202110653907A CN114461577A CN 114461577 A CN114461577 A CN 114461577A CN 202110653907 A CN202110653907 A CN 202110653907A CN 114461577 A CN114461577 A CN 114461577A
- Authority
- CN
- China
- Prior art keywords
- interface
- folder
- target folder
- user
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 46
- 238000004590 computer program Methods 0.000 claims description 19
- 238000010586 diagram Methods 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 3
- 230000001960 triggered effect Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/16—File or folder operations, e.g. details of user interfaces specifically adapted to file systems
- G06F16/168—Details of user interfaces specifically adapted to file systems, e.g. browsing and visualisation, 2d or 3d GUIs
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction 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/0482—Interaction with lists of selectable items, e.g. menus
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction 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/0488—Interaction 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/04883—Interaction 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
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
本公开涉及一种文件夹查看的方法、装置、设备和计算机可读存储介质,通过接收用户对显示于第一界面的目标文件夹的预设操作,在第二界面生成所述目标文件夹的图标,接收用户对所述第二界面显示的目标文件夹的图标的第一触发操作,所述第一触发操作用于触发打开所述目标文件夹;在所述第二界面显示所述目标文件夹打开之后的打开界面,所述打开界面显示所述目标文件夹中的文件和/或子文件夹。从而,用户可以通过预设操作在第二界面生成目标文件夹的图标,便于用户查找目标文件夹,并且,实现用户可以直接在第二界面打开文件夹,提高了用户访问文件夹的效率。
The present disclosure relates to a method, apparatus, device and computer-readable storage medium for viewing a folder. By receiving a user's preset operation on a target folder displayed on a first interface, a second interface generates a file of the target folder. icon, receiving the first trigger operation of the user on the icon of the target folder displayed on the second interface, where the first trigger operation is used to trigger the opening of the target folder; displaying the target file on the second interface The opening interface after the folder is opened, the opening interface displays the files and/or subfolders in the target folder. Therefore, the user can generate an icon of the target folder on the second interface through a preset operation, which is convenient for the user to find the target folder, and realizes that the user can directly open the folder on the second interface, which improves the efficiency of the user accessing the folder.
Description
技术领域technical field
本公开涉及计算机通信技术领域,尤其涉及一种文件夹查看的方法、装置、设备和计算机可读存储介质。The present disclosure relates to the field of computer communication technologies, and in particular, to a method, apparatus, device and computer-readable storage medium for viewing a folder.
背景技术Background technique
随时计算机通信技术的飞速发展,即时通信软件的应用也越来越广泛,通过即时通信软件传输文字、图片、文件或者文件夹等,给用户的生活和工作带来了便利性。With the rapid development of computer communication technology, the application of instant messaging software is becoming more and more extensive. The transmission of text, pictures, files or folders through instant messaging software brings convenience to users' life and work.
现有技术中,用户通过即时通信软件传输文件夹,文件夹显示于会话界面中,当用户需要查看文件夹时,需要先进入会话界面,再在会话界面中翻阅到文件夹所在的部分,打开文件夹以查找文件夹的内容。In the prior art, the user transmits the folder through instant messaging software, and the folder is displayed in the session interface. When the user needs to view the folder, he needs to enter the session interface first, and then scroll to the part where the folder is located in the session interface, and open it. folder to find the contents of a folder.
然而,用户的会话界面中显示的内容繁多,采用现有技术查找文件夹的内容不够便利。However, there are many contents displayed in the user's session interface, and it is not convenient to find the contents of a folder by using the existing technology.
发明内容SUMMARY OF THE INVENTION
为了解决上述技术问题或者至少部分地解决上述技术问题,本公开提供了一种文件夹查看的方法、装置、设备和计算机可读存储介质。In order to solve the above technical problems or at least partially solve the above technical problems, the present disclosure provides a folder viewing method, apparatus, device, and computer-readable storage medium.
本公开第一方面提供一种文件夹查看的方法,包括:A first aspect of the present disclosure provides a method for viewing a folder, including:
接收用户对显示于第一界面的目标文件夹的预设操作,在第二界面生成所述目标文件夹的图标,其中,所述第一界面为即时通信客户端的会话界面,所述第二界面为所述即时通信客户端的非会话界面;Receive a user's preset operation on the target folder displayed on the first interface, and generate an icon of the target folder on the second interface, wherein the first interface is a conversation interface of an instant messaging client, and the second interface is the non-conversational interface of the instant messaging client;
接收用户对所述第二界面显示的目标文件夹的图标的第一触发操作,所述第一触发操作用于触发打开所述目标文件夹;receiving a user's first trigger operation on the icon of the target folder displayed on the second interface, where the first trigger operation is used to trigger opening of the target folder;
在所述第二界面显示所述目标文件夹打开之后的打开界面,所述打开界面显示所述目标文件夹中的文件和/或子文件夹。An opening interface after the target folder is opened is displayed on the second interface, and the opening interface displays files and/or subfolders in the target folder.
可选的,所述在所述第二界面显示所述目标文件夹打开之后的界面之前,还包括:Optionally, before the second interface displays the interface after the target folder is opened, the method further includes:
根据所述第一触发操作生成文件夹打开请求,所述文件夹打开请求中包括所述目标文件夹的标识;Generate a folder opening request according to the first trigger operation, where the folder opening request includes the identifier of the target folder;
根据所述目标文件夹的标识,获取所述目标文件夹中文件和/或子文件夹。Acquire files and/or subfolders in the target folder according to the identifier of the target folder.
可选的,所述方法还包括:Optionally, the method further includes:
接收用户对所述第二界面显示的目标文件夹的图标的第二触发操作,在所述第二界面显示扩展项,所述扩展项中包含返回会话界面选项;receiving a second trigger operation by the user on the icon of the target folder displayed on the second interface, and displaying an extension item on the second interface, where the extension item includes an option to return to the session interface;
接收用户对所述返回会话界面选项的第三触发操作,返回所述第一界面。Receive a third trigger operation of the user on the option of returning to the session interface, and return to the first interface.
可选的,所述目标文件夹包括多个层级;Optionally, the target folder includes multiple levels;
所述在所述第二界面显示所述目标文件夹打开之后的打开界面,包括:The displaying, on the second interface, the opening interface after the target folder is opened, including:
在所述第二界面将所述目标文件夹的多个层级分别对应的标签平铺显示。Labels corresponding to multiple levels of the target folder are tiled and displayed on the second interface.
可选的,所述平铺显示包括:单行显示、单列显示或者多行多列显示。Optionally, the tiled display includes: single-line display, single-column display, or multi-line and multi-column display.
可选的,所述方法还包括:Optionally, the method further includes:
接收用户对所述多个层级中的任意一个目标层级对应的标签的第四触发操作,显示所述目标层级对应文件和/或子文件夹列表。Receive a fourth trigger operation by the user on a tag corresponding to any one target level in the multiple levels, and display a list of files and/or subfolders corresponding to the target level.
可选的,所述第四触发操作包括:Optionally, the fourth trigger operation includes:
点击或者滑动。Click or swipe.
可选的,预设操作包括:收藏操作和/或打钉操作;Optionally, the preset operations include: a collection operation and/or a nailing operation;
所述预设操作为收藏操作时,所述第二界面为收藏界面,一个即时通信客户端对应一个收藏界面,所述收藏界面显示通过所述即时通信客户端收藏的所有文件和/或文件夹;When the preset operation is a favorite operation, the second interface is a favorite interface, one instant messaging client corresponds to one favorite interface, and the favorite interface displays all files and/or folders stored through the instant messaging client ;
所述预设操作为打钉操作时,所述第二界面为打钉界面,一个会话对应一个打钉界面,所述打钉界面中显示在所对应的会话中的所有用户在所述会话中打钉的所有文件和/或文件夹。When the preset operation is a nailing operation, the second interface is a nailing interface, one session corresponds to one nailing interface, and all users displayed in the corresponding session in the nailing interface are in the session. All files and/or folders that are pinned.
本公开第二方面提供一种文件夹显示的装置,包括:A second aspect of the present disclosure provides an apparatus for displaying folders, including:
接收模块,用于接收用户对显示于第一界面的目标文件夹的预设操作,在第二界面生成所述目标文件夹的图标,其中,所述第一界面为即时通信客户端的会话界面,所述第二界面为所述即时通信客户端的非会话界面;a receiving module, configured to receive a user's preset operation on the target folder displayed on the first interface, and generate an icon of the target folder on the second interface, wherein the first interface is a session interface of an instant messaging client, The second interface is a non-conversational interface of the instant messaging client;
所述接收模块,还用于接收用户对所述第二界面显示的目标文件夹的图标的第一触发操作,所述第一触发操作用于触发打开所述目标文件夹;The receiving module is further configured to receive a user's first trigger operation on the icon of the target folder displayed on the second interface, where the first trigger operation is used to trigger the opening of the target folder;
显示模块,用于在所述第二界面显示所述目标文件夹打开之后的打开界面,所述打开界面显示所述目标文件夹中的文件和/或子文件夹。The display module is configured to display, on the second interface, an opening interface after the target folder is opened, and the opening interface displays files and/or subfolders in the target folder.
本公开第三方面提供一种电子设备,包括:处理器,所述处理器用于执行存储于存储器的计算机程序,所述计算机程序被处理器执行时第一方面任一项所述的方法的步骤。A third aspect of the present disclosure provides an electronic device, comprising: a processor configured to execute a computer program stored in a memory, and when the computer program is executed by the processor, the steps of any one of the methods in the first aspect .
本公开第四方面提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现第一方面任一项所述的方法的步骤。A fourth aspect of the present disclosure provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements the steps of any one of the methods described in the first aspect.
本公开第五方面提供一种计算机程序产品,其特征在于,当所述计算机程序产品在计算机上运行时,使得所述计算机执行第一方面任一项所述的方法。A fifth aspect of the present disclosure provides a computer program product, characterized in that, when the computer program product runs on a computer, the computer is caused to execute the method described in any one of the first aspects.
本公开提供的技术方案具有如下优点:The technical solution provided by the present disclosure has the following advantages:
通过接收用户对显示于第一界面的目标文件夹的预设操作,在第二界面生成所述目标文件夹的图标,接收用户对所述第二界面显示的目标文件夹的图标的第一触发操作,所述第一触发操作用于触发打开所述目标文件夹;在所述第二界面显示所述目标文件夹打开之后的打开界面,所述打开界面显示所述目标文件夹中的文件和/或子文件夹。从而,用户可以通过预设操作在第二界面生成目标文件夹的图标,便于用户查找目标文件夹,并且,实现用户可以直接在第二界面打开文件夹,提高了用户访问文件夹的效率。By receiving the user's preset operation on the target folder displayed on the first interface, the icon of the target folder is generated on the second interface, and the first trigger of the user on the icon of the target folder displayed on the second interface is received. operation, the first trigger operation is used to trigger the opening of the target folder; the opening interface after the target folder is opened is displayed on the second interface, and the opening interface displays the files in the target folder and / or subfolders. Therefore, the user can generate an icon of the target folder on the second interface through a preset operation, which is convenient for the user to find the target folder, and realizes that the user can directly open the folder on the second interface, which improves the efficiency of the user accessing the folder.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure.
为了更清楚地说明本公开实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the accompanying drawings that are required to be used in the description of the embodiments or the prior art will be briefly introduced below. In other words, on the premise of no creative labor, other drawings can also be obtained from these drawings.
图1为本公开提供的一种文件夹查看的方法实施例的流程示意图;FIG. 1 is a schematic flowchart of an embodiment of a method for viewing a folder provided by the present disclosure;
图2为本公开提供的一种即时通信客户端的会话界面示意图;2 is a schematic diagram of a session interface of an instant messaging client provided by the present disclosure;
图3为本公开提供的一种即时通信客户端的收藏界面示意图;3 is a schematic diagram of a collection interface of an instant messaging client provided by the present disclosure;
图4为本公开提供的一种即时通信客户端的打钉界面示意图;4 is a schematic diagram of a pinning interface of an instant messaging client provided by the present disclosure;
图5为本公开提供的另一种文件夹查看的方法实施例的流程示意图;FIG. 5 is a schematic flowchart of another embodiment of a method for viewing a folder provided by the present disclosure;
图6为本公开提供的再一种文件夹查看的方法实施例的流程示意图;FIG. 6 is a schematic flowchart of another embodiment of a method for viewing a folder provided by the present disclosure;
图7为本公开提供的一种第二界面的示意图;7 is a schematic diagram of a second interface provided by the present disclosure;
图8为本公开提供的又一种文件夹查看的方法实施例的流程示意图;8 is a schematic flowchart of another embodiment of a method for viewing a folder provided by the present disclosure;
图9为本公开提供的文件夹查看的装置的结构示意图。FIG. 9 is a schematic structural diagram of an apparatus for viewing a folder provided by the present disclosure.
具体实施方式Detailed ways
为了能够更清楚地理解本公开的上述目的、特征和优点,下面将对本公开的方案进行进一步描述。需要说明的是,在不冲突的情况下,本公开的实施例及实施例中的特征可以相互组合。In order to more clearly understand the above objects, features and advantages of the present disclosure, the solutions of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments may be combined with each other under the condition of no conflict.
在下面的描述中阐述了很多具体细节以便于充分理解本公开,但本公开还可以采用其他不同于在此描述的方式来实施;显然,说明书中的实施例只是本公开的一部分实施例,而不是全部的实施例。Many specific details are set forth in the following description to facilitate a full understanding of the present disclosure, but the present disclosure can also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only a part of the embodiments of the present disclosure, and Not all examples.
通过即时通信客户端传输文件夹之后,会在会话界面中显示文件夹的图标,以便于用户对文件夹进行操作,例如,打开,下载等操作。After the folder is transferred through the instant messaging client, the icon of the folder will be displayed in the session interface, so that the user can operate the folder, such as opening and downloading.
然而,由于会话界面中的内容会随着时间的推移积累的越来越多,用户从会话界面中查找想要查看的目标文件夹不是很方便,因此,本公开提供了在会话界面可以对目标文件夹进行一些预设操作,以将目标文件夹的图标显示于其他界面,并由统一的文件管理器对包括这些文件夹的文件进行管理,以便于用户可以在即时通信(Instant messaging,IM)的不同界面入口对目标文件夹进行访问,并且,能够在会话以外的其他界面直接打开目标文件夹。However, since the content in the session interface will accumulate more and more over time, it is not very convenient for users to find the target folder they want to view from the session interface. Folders perform some preset operations to display the icon of the target folder on other interfaces, and the files including these folders are managed by a unified file manager, so that users can use instant messaging (Instant messaging, IM) The different interface entrances of the user interface can access the target folder, and can directly open the target folder in other interfaces other than the session.
本公开还提供一个改进点,当目标文件夹存在多个层级时,当打开目标文件夹时,或者切换目标文件夹的层级时,无需逐层打开或者逐层返回的方式,而是将目标文件夹的各层级对应的标签平铺显示,以使用户可以直接触发进入对应的层级,从而,提高目标文件夹的访问效率。The present disclosure also provides an improvement point. When the target folder has multiple levels, when the target folder is opened, or the level of the target folder is switched, there is no need to open or return layer by layer. The labels corresponding to each level of the folder are tiled and displayed, so that the user can directly trigger to enter the corresponding level, thereby improving the access efficiency of the target folder.
下面以几个具体的实施例对本公开的技术方案进行描述。The technical solutions of the present disclosure will be described below with several specific embodiments.
图1为本公开提供的一种文件夹查看的方法实施例的流程示意图,如图1所示,本实施例由即时通信客户端执行,可以是即时通信发送客户端,也可以是即时通信接收客户端,本实施例的方法如下:FIG. 1 is a schematic flowchart of an embodiment of a method for viewing a folder provided by the present disclosure. As shown in FIG. 1 , this embodiment is executed by an instant messaging client, which may be an instant messaging sending client or an instant messaging receiving client. Client, the method of this embodiment is as follows:
S101:接收用户对显示于第一界面的目标文件夹的预设操作,在第二界面生成所述目标文件夹的图标。S101: Receive a user's preset operation on the target folder displayed on the first interface, and generate an icon of the target folder on the second interface.
其中,所述第一界面为即时通信客户端的会话界面,所述第二界面为所述即时通信客户端的非会话界面,如收藏界面,打钉(pin)界面。Wherein, the first interface is a conversational interface of the instant messaging client, and the second interface is a non-conversational interface of the instant messaging client, such as a favorite interface and a pin interface.
其中,会话界面是指两个或者多个用户分别通过对应的即时通信客户端进行通信的会话界面,通常是会话框的形式,如图2所示,图2为本公开提供的一种即时通信客户端的会话界面示意图。The conversational interface refers to a conversational interface in which two or more users communicate through corresponding instant messaging clients, usually in the form of a conversation box, as shown in FIG. 2 , which is an instant messaging interface provided by the present disclosure. Schematic diagram of the client's session interface.
当会话中的用户之间需要传输目标文件夹时,将目标文件夹通过拖拽或者通过按键添加至会话界面内进行发送即可,在会话界面201中即会显示目标文件夹202,如图2所示。When the users in the session need to transfer the target folder, the target folder can be added to the session interface by dragging or pressing a button for sending, and the
用户可以通过对显示于第一界面(会话界面)的目标文件夹进行预设操作,以在第二界面生成目标文件夹的图标。The user may perform a preset operation on the target folder displayed on the first interface (conversation interface) to generate an icon of the target folder on the second interface.
其中,预设操作包括但不限于如下操作:The preset operations include but are not limited to the following operations:
收藏操作和/或打钉操作;Collection operations and/or stapling operations;
用户可以通过对显示于会话界面的目标文件夹触发收藏操作,当预设操作为收藏操作时,所述第二界面为收藏界面,一个即时通信客户端对应一个收藏界面,所述收藏界面显示通过所述即时通信客户端收藏的所有文件和/或文件夹;也就是,在一个即时通信客户端的任何会话内收藏的所有文件和/或文件夹都显示于同一个收藏界面内,可以通过触发显示于所述即时通信客户端的收藏按钮打开收藏界面。例如,用户1在与用户2的会话界面中对文件夹A触发了收藏操作,用户1在与用户3的会话界面中对文件夹B触发了收藏操作,用户1在与用户4和用户5的群聊会话界面中对文件夹C和文件夹D触发了收藏操作,在文件夹A、文件夹B、文件夹C和文件夹D均会显示于用户1的即时通信客户端的收藏界面,如图3所示,用户1的即时通信客户端的收藏界面内的收藏内容仅用户1可见。The user can trigger the collection operation on the target folder displayed on the session interface. When the preset operation is the collection operation, the second interface is the collection interface, and one instant messaging client corresponds to a collection interface, and the collection interface is displayed through the collection interface. All files and/or folders collected by the instant messaging client; that is, all files and/or folders collected in any session of an instant messaging client are displayed in the same favorite interface, and can be displayed by triggering Open the favorite interface on the favorite button of the instant messaging client. For example, user 1 triggers a favorite operation on folder A in the session interface with user 2, user 1 triggers a favorite operation on folder B in the session interface with user 3, and user 1 triggers a favorite operation on folder B in the session interface with user 4 and user 5. In the group chat session interface, the favorite operation is triggered for Folder C and Folder D. Folder A, Folder B, Folder C and Folder D will all be displayed on the favorite interface of User 1's instant messaging client, as shown in the figure As shown in FIG. 3 , the favorite content in the favorite interface of the instant messaging client of user 1 is only visible to user 1 .
用户可以通过对显示于会话界面的目标文件夹触发打钉操作,当预设操作为打钉操作时,所述第二界面为打钉界面,一个会话对应一个打钉界面,所述打钉界面中显示在所对应的会话中的所有用户在所述会话中打钉的所有文件和/或文件夹。也就是,在一个会话中的任何一个用户对目标文件触发了打钉操作,该用户以及在该会话中的其他用户均可以通过该会话对应的打钉界面查看到所有用户打钉的文件和/或文件夹。例如,用户1、用户2和用户3在同一会话中,用户1在该会话界面中对文件夹A触发了打钉操作,用户2在该会话界面中对文件夹B触发了打钉操作,用户3在该会话界面中对文件C触发了打钉操作,则在用户1的该会话对应的打钉界面中显示文件夹A、文件夹B、文件夹C,如图4所示;在用户2的该会话对应的打钉界面中显示文件夹A、文件夹B、文件夹C,如图4所示;在用户3的该会话对应的打钉界面中显示文件夹A、文件夹B、文件夹C,如图4所示。The user can trigger a nailing operation on the target folder displayed on the session interface. When the preset operation is a nailing operation, the second interface is a nailing interface, one session corresponds to one nailing interface, and the nailing interface All files and/or folders pinned in the corresponding session by all users in the corresponding session are displayed in the . That is, if any user in a session triggers a nailing operation on the target file, the user and other users in the session can view the nailed files and/or files of all users through the nailing interface corresponding to the session. or folder. For example, user 1, user 2 and user 3 are in the same session, user 1 triggers a nailing operation for folder A in the session interface, user 2 triggers a nailing operation for folder B in the session interface, user 3. In the session interface, a nailing operation is triggered for the file C, then the folder A, the folder B, and the folder C are displayed in the corresponding nailing interface of the session of the user 1, as shown in Figure 4; in the user 2 Folder A, Folder B, and Folder C are displayed in the nailing interface corresponding to the session, as shown in Figure 4; Folder A, Folder B, and File are displayed in the nailing interface corresponding to this session of User 3 Clip C, as shown in Figure 4.
S103:接收用户对第二界面显示的目标文件夹的图标的第一触发操作。S103: Receive a first trigger operation of the user on the icon of the target folder displayed on the second interface.
其中,所述第一触发操作用于触发打开所述目标文件夹。第一触发操作例如可以是单击、双击、特定手势或者唤出操作选项之后选中打开选项等。Wherein, the first trigger operation is used to trigger opening of the target folder. The first trigger operation may be, for example, a single click, a double click, a specific gesture, or selecting an open option after calling out an operation option.
S105:在所述第二界面显示所述目标文件夹打开之后的打开界面,所述打开界面显示所述目标文件夹中的文件和/或子文件夹。S105: Display, on the second interface, an opening interface after the target folder is opened, where the opening interface displays files and/or subfolders in the target folder.
当接收到用户对第二界面显示的目标文件夹的图标的第一触发操作之后,直接在第二界面显示所述目标文件夹打开之后的打开界面,例如,目标文件夹中包含多个文件,则直接显示多个文件的图标,用户触发打开任何一个文件的图标则可以直接显示文件的内容;目标文件夹中包含多个子文件夹,则显示多个子文件夹的图标,用户触发打开任何一个子文件夹的图标则可以直接显示该子文件夹包括的内容;目标文件夹中包含文件和子文件夹,则显示文件的图标和子文件夹的图标,用户触发任何一个文件或者子文件夹,则可以直接显示文件或者子文件夹包括的内容。After receiving the user's first trigger operation on the icon of the target folder displayed on the second interface, the opening interface after the target folder is opened is directly displayed on the second interface, for example, the target folder contains multiple files, Then the icons of multiple files are displayed directly, and the icon of any one file is triggered by the user to directly display the content of the file; the target folder contains multiple subfolders, the icons of multiple subfolders are displayed, and the user triggers to open any one of the subfolders. The icon of the folder can directly display the contents of the subfolder; if the target folder contains files and subfolders, the icon of the file and the icon of the subfolder are displayed. When the user triggers any file or subfolder, the user can directly display the contents of the subfolder. Displays the contents of a file or subfolder.
本实施例,通过接收用户对显示于第一界面的目标文件夹的预设操作,在第二界面生成所述目标文件夹的图标,接收用户对所述第二界面显示的目标文件夹的图标的第一触发操作,所述第一触发操作用于触发打开所述目标文件夹;在所述第二界面显示所述目标文件夹打开之后的打开界面,所述打开界面显示所述目标文件夹中的文件和/或子文件夹。从而,用户可以通过预设操作在第二界面生成目标文件夹的图标,便于用户查找目标文件夹,并且,实现用户可以直接在任何第二界面打开文件夹,提高了用户访问文件夹的效率。In this embodiment, by receiving the user's preset operation on the target folder displayed on the first interface, the icon of the target folder is generated on the second interface, and the icon of the target folder displayed by the user on the second interface is received. The first trigger operation is used to trigger the opening of the target folder; the opening interface after the target folder is opened is displayed on the second interface, and the opening interface displays the target folder files and/or subfolders in . Therefore, the user can generate the icon of the target folder on the second interface through a preset operation, which is convenient for the user to find the target folder, and realizes that the user can directly open the folder on any second interface, which improves the efficiency of the user accessing the folder.
图5为本公开提供的另一种文件夹查看的方法实施例的流程示意图,本实施例是在图1所示实施例的基础上,进一步地,在S105之前,还可以包括:FIG. 5 is a schematic flowchart of another embodiment of a method for viewing a folder provided by the present disclosure. This embodiment is based on the embodiment shown in FIG. 1, and further, before S105, may further include:
S1041:根据所述第一触发操作生成文件夹打开请求。S1041: Generate a folder opening request according to the first trigger operation.
其中,所述文件夹打开请求中包括所述目标文件夹的标识。每个文件夹对应唯一的标识。当用户对第二界面显示的目标文件夹的图标输入第一触发操作,则根据第一触发操作可以生成文件夹打开请求。Wherein, the folder opening request includes the identifier of the target folder. Each folder corresponds to a unique ID. When the user inputs a first trigger operation to the icon of the target folder displayed on the second interface, a folder opening request can be generated according to the first trigger operation.
S1042:根据所述目标文件夹的标识,获取所述目标文件夹中文件和/或子文件夹。S1042: Acquire files and/or subfolders in the target folder according to the identifier of the target folder.
其中,S1041和S1042可以由即时通信客户端的文件查看器执行。Wherein, S1041 and S1042 may be executed by the file viewer of the instant messaging client.
本实施例,通过文件夹的唯一标识,可以获取到目标文件夹中文件和/或子文件夹,从而,可以实现在任何第二界面直接打开目标文件夹。In this embodiment, files and/or subfolders in the target folder can be acquired through the unique identifier of the folder, so that the target folder can be directly opened on any second interface.
图6为本公开提供的再一种文件夹查看的方法实施例的流程示意图,本实施例是在图1或图5所示实施例的基础上,进一步地,还包括:FIG. 6 is a schematic flowchart of another embodiment of a method for viewing a folder provided by the present disclosure. This embodiment is based on the embodiment shown in FIG. 1 or FIG. 5 , and further includes:
S107:接收用户对所述第二界面显示的目标文件夹的图标的第二触发操作,在所述第二界面显示扩展项。S107: Receive a second trigger operation of the user on the icon of the target folder displayed on the second interface, and display the extension item on the second interface.
在一些场景中,例如,打钉界面中,还可以通过对目标文件夹的图标执行第二触发操作,以唤出扩展项,其中,所述扩展项中包含返回会话界面选项;例如,长按目标文件夹以唤出扩展项,扩展项中包含返回会话界面选项,如图4所示。In some scenarios, for example, in the pinning interface, the extension item can also be called out by performing a second trigger operation on the icon of the target folder, wherein the extension item includes the option to return to the session interface; for example, long press The target folder to call out the extension item, the extension item contains the option to return to the session interface, as shown in Figure 4.
S109:接收用户对所述返回会话界面选项的第三触发操作,返回所述第一界面。S109: Receive a third trigger operation of the user on the option of returning to the session interface, and return to the first interface.
其中,第三触发操作用于选中所述返回会话界面选项,例如,可以通过点击选中,选中返回会话界面选项之后,则返回第一界面,即返回会话界面中,可选的,可直接返回至会话界面中显示所述目标文件夹的部分,以便于用户在会话界面中打开所述目标文件夹。The third trigger operation is used to select the option of returning to the session interface. For example, it can be selected by clicking. After selecting the option of returning to the session interface, the first interface is returned, that is, the session interface is returned. Optionally, it can be directly returned to the The part of the session interface that displays the target folder is convenient for the user to open the target folder in the session interface.
本实施例,通过接收用户对所述第二界面显示的目标文件夹的图标的第二触发操作,然后在接收到用户对所述返回会话界面选项的第三触发操作,返回所述第一界面。从而,可以通过返回会话界面打开文件夹,使得文件夹的打开方式更加灵活。并且可以快速定位到目标文件夹在会话界面中的位置,以便于了解目标文件夹的其他相关信息。In this embodiment, the user returns to the first interface by receiving the user's second trigger operation on the icon of the target folder displayed on the second interface, and then after receiving the user's third trigger operation on the option to return to the session interface. . Therefore, the folder can be opened by returning to the session interface, which makes the opening method of the folder more flexible. And you can quickly locate the location of the target folder in the session interface, so as to know other related information of the target folder.
可选的,图6所示实施例中的步骤S107和S109也可以独立执行。即在第二界面中的目标文件夹均通过返回会话界面中打开。Optionally, steps S107 and S109 in the embodiment shown in FIG. 6 may also be performed independently. That is, the target folders in the second interface are all opened by returning to the session interface.
图8为本公开提供的又一种文件夹查看的方法实施例的流程示意图,如图8所示,当目标文件夹包括多个层级时,S105的一种可能的实现方式如下:FIG. 8 is a schematic flowchart of another embodiment of a method for viewing a folder provided by the present disclosure. As shown in FIG. 8 , when the target folder includes multiple levels, a possible implementation of S105 is as follows:
S105’:在所述第二界面将所述目标文件夹的多个层级分别对应的标签平铺显示。S105': Display, on the second interface, the labels corresponding to the multiple levels of the target folder in tiles.
其中,平铺显示包括但不限于:单行显示、单列显示或者多行多列显示。The tiled display includes, but is not limited to, single-line display, single-column display, or multi-line and multi-column display.
例如:目标文件夹包括:五个层级,标签分别为第一层级、第二层级、第三层级、第四层级和第五层级;For example: the target folder includes: five levels, the labels are the first level, the second level, the third level, the fourth level and the fifth level;
用户每打开一个层级,该层级之前的层级的标签均平铺显示。例如:用户可以通过逐层点击依次打开第一层级、第二层级、第三层级、第四层级至第五层级,如图7所示,各层级对应的标签以单行显示。由于各个层级的标签均平铺显示,因此,用户可以直接对各个层级的标签进行触发操作,以进入对应的层级。Each time the user opens a level, the labels of the levels before the level are displayed in tiles. For example, the user can open the first level, the second level, the third level, the fourth level to the fifth level in turn by clicking layer by layer. As shown in Figure 7, the labels corresponding to each level are displayed in a single line. Since the labels of each level are displayed in tiles, the user can directly trigger operations on the labels of each level to enter the corresponding level.
所述方法还包括:The method also includes:
S111:接收用户对所述多个层级中的任意一个目标层级对应的标签的第四触发操作,显示所述目标层级对应文件和/或子文件夹列表。S111: Receive a fourth trigger operation by the user on a tag corresponding to any one target level in the multiple levels, and display a list of files and/or subfolders corresponding to the target level.
其中,所述第四触发操作包括但不限于:点击或者滑动。通过点击或者滑动切换目标层级。Wherein, the fourth trigger operation includes but is not limited to: clicking or sliding. Switch the target level by clicking or swiping.
本实施例,通过在所述第二界面将所述目标文件夹的多个层级分别对应的标签平铺显示,接收用户对所述多个层级中的任意一个目标层级对应的标签的第四触发操作,显示所述目标层级对应文件和/或子文件夹列表。从而,便于用户快速访问目标层级的内容,提高了文件夹的访问效率。In this embodiment, by tiling and displaying the labels corresponding to the multiple levels of the target folder on the second interface, a fourth trigger from the user on the label corresponding to any one of the multiple levels is received. An operation is performed to display a list of files and/or subfolders corresponding to the target level. Therefore, it is convenient for the user to quickly access the content of the target level, and the access efficiency of the folder is improved.
图8所示的文件夹的展示方式也可以应用于其他文件夹,例如,第一界面显示的文件夹打开后的展示方式,对此,本公开不做限制。The presentation manner of the folder shown in FIG. 8 can also be applied to other folders, for example, the presentation manner of the folder displayed on the first interface after opening, which is not limited in the present disclosure.
本公开的上述技术方案可以应用于移动端的即时通信客户端,也可以应用于桌面端的即时通信客户端。The above technical solutions of the present disclosure can be applied to the instant messaging client of the mobile terminal, and can also be applied to the instant messaging client of the desktop terminal.
图9为本公开提供的文件夹查看的装置的结构示意图,如图9所示,本实施例的装置包括:接收模块901和显示模块902,其中,接收模块901用于接收用户对显示于第一界面的目标文件夹的预设操作,在第二界面生成所述目标文件夹的图标,其中,所述第一界面为即时通信客户端的会话界面,所述第二界面为所述即时通信客户端的非会话界面;所述接收模块901还用于接收用户对所述第二界面显示的目标文件夹的图标的第一触发操作,所述第一触发操作用于触发打开所述目标文件夹;显示模块902用于在所述第二界面显示所述目标文件夹打开之后的打开界面,所述打开界面显示所述目标文件夹中的文件和/或子文件夹。FIG. 9 is a schematic structural diagram of an apparatus for viewing a folder provided by the present disclosure. As shown in FIG. 9 , the apparatus of this embodiment includes: a receiving
可选的,还包括:处理模块903,用于根据所述第一触发操作生成文件夹打开请求,所述文件夹打开请求中包括所述目标文件夹的标识;根据所述目标文件夹的标识,获取所述目标文件夹中文件和/或子文件夹。Optionally, it also includes: a
可选的,所述接收模块901还用于接收用户对所述第二界面显示的目标文件夹的图标的第二触发操作,在所述第二界面显示扩展项,所述扩展项中包含返回会话界面选项;接收用户对所述返回会话界面选项的第三触发操作,返回所述第一界面。Optionally, the receiving
可选的,所述目标文件夹包括多个层级;Optionally, the target folder includes multiple levels;
所述显示模块902具体用于在所述第二界面将所述目标文件夹的多个层级分别对应的标签平铺显示。The
可选的,所述平铺显示包括:单行显示、单列显示或者多行多列显示。Optionally, the tiled display includes: single-line display, single-column display, or multi-line and multi-column display.
可选的,所述接收模块901还用于接收用户对所述多个层级中的任意一个目标层级对应的标签的第四触发操作,显示所述目标层级对应文件和/或子文件夹列表。Optionally, the receiving
可选的,所述第四触发操作包括:Optionally, the fourth trigger operation includes:
点击或者滑动。Click or swipe.
可选的,预设操作包括:收藏操作和/或打钉操作;Optionally, the preset operations include: a collection operation and/or a nailing operation;
所述预设操作为收藏操作时,所述第二界面为收藏界面,一个即时通信客户端对应一个收藏界面,所述收藏界面显示通过所述即时通信客户端收藏的所有文件和/或文件夹;When the preset operation is a favorite operation, the second interface is a favorite interface, one instant messaging client corresponds to one favorite interface, and the favorite interface displays all files and/or folders stored through the instant messaging client ;
所述预设操作为打钉操作时,所述第二界面为打钉界面,一个会话对应一个打钉界面,所述打钉界面中显示在所对应的会话中的所有用户在所述会话中打钉的所有文件和/或文件夹。When the preset operation is a nailing operation, the second interface is a nailing interface, one session corresponds to one nailing interface, and all users displayed in the corresponding session in the nailing interface are in the session. All files and/or folders that are pinned.
本实施例的装置对应地可用于执行上述各方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The apparatus in this embodiment can correspondingly be used to execute the technical solutions of the foregoing method embodiments, and the implementation principles and technical effects thereof are similar, which will not be repeated here.
本公开还提供一种电子设备,包括:处理器,所述处理器用于执行存储于存储器的计算机程序,所述计算机程序被处理器执行时实现上述方法实施例的步骤。The present disclosure also provides an electronic device, comprising: a processor, where the processor is configured to execute a computer program stored in a memory, and when the computer program is executed by the processor, implements the steps of the foregoing method embodiments.
本公开还提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述方法实施例的步骤。The present disclosure also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements the steps of the above method embodiments.
本公开还提供一种计算机程序产品,当所述计算机程序产品在计算机上运行时,使得所述计算机执行实现上述方法实施例的步骤。The present disclosure also provides a computer program product, which, when the computer program product runs on a computer, causes the computer to execute the steps of implementing the above method embodiments.
需要说明的是,在本文中,诸如“第一”和“第二”等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that, in this document, relational terms such as "first" and "second" etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply these There is no such actual relationship or sequence between entities or operations. Moreover, the terms "comprising", "comprising" or any other variation thereof are intended to encompass a non-exclusive inclusion such that a process, method, article or device that includes a list of elements includes not only those elements, but also includes not explicitly listed or other elements inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.
以上所述仅是本公开的具体实施方式,使本领域技术人员能够理解或实现本公开。对这些实施例的多种修改对本领域的技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本公开的精神或范围的情况下,在其它实施例中实现。因此,本公开将不会被限制于本文所述的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。The above descriptions are only specific embodiments of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure is not intended to be limited to the embodiments described herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (12)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110653907.8A CN114461577A (en) | 2021-06-11 | 2021-06-11 | Method, apparatus, device, and computer-readable storage medium for folder viewing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110653907.8A CN114461577A (en) | 2021-06-11 | 2021-06-11 | Method, apparatus, device, and computer-readable storage medium for folder viewing |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114461577A true CN114461577A (en) | 2022-05-10 |
Family
ID=81406300
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110653907.8A Pending CN114461577A (en) | 2021-06-11 | 2021-06-11 | Method, apparatus, device, and computer-readable storage medium for folder viewing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114461577A (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1928861A (en) * | 2005-09-09 | 2007-03-14 | 国际商业机器公司 | Immediate communication client machine for project share and method thereof |
CN101495985A (en) * | 2005-06-20 | 2009-07-29 | 微软公司 | Instant messaging with data sharing |
US20130239014A1 (en) * | 2012-03-07 | 2013-09-12 | Salesforce.Com, Inc. | File transfer methodology for a desktop sharing system |
CN107438840A (en) * | 2015-03-23 | 2017-12-05 | 卓普网盘股份有限公司 | Support the integrated working space of Shared Folders |
CN107748758A (en) * | 2017-09-21 | 2018-03-02 | 广州视源电子科技股份有限公司 | File information display method and system, readable storage medium and computer equipment |
CN109408476A (en) * | 2018-09-19 | 2019-03-01 | 腾讯科技(深圳)有限公司 | A kind of file-sharing management method, equipment and storage medium |
CN111444139A (en) * | 2020-03-24 | 2020-07-24 | 腾讯科技(深圳)有限公司 | File management method, device, equipment and storage medium |
-
2021
- 2021-06-11 CN CN202110653907.8A patent/CN114461577A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101495985A (en) * | 2005-06-20 | 2009-07-29 | 微软公司 | Instant messaging with data sharing |
CN1928861A (en) * | 2005-09-09 | 2007-03-14 | 国际商业机器公司 | Immediate communication client machine for project share and method thereof |
US20130239014A1 (en) * | 2012-03-07 | 2013-09-12 | Salesforce.Com, Inc. | File transfer methodology for a desktop sharing system |
CN107438840A (en) * | 2015-03-23 | 2017-12-05 | 卓普网盘股份有限公司 | Support the integrated working space of Shared Folders |
CN107748758A (en) * | 2017-09-21 | 2018-03-02 | 广州视源电子科技股份有限公司 | File information display method and system, readable storage medium and computer equipment |
CN109408476A (en) * | 2018-09-19 | 2019-03-01 | 腾讯科技(深圳)有限公司 | A kind of file-sharing management method, equipment and storage medium |
CN111444139A (en) * | 2020-03-24 | 2020-07-24 | 腾讯科技(深圳)有限公司 | File management method, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10990268B2 (en) | Operation method and terminal device | |
CN109564531B (en) | Clipboard repository interaction | |
US10719163B2 (en) | Object determining method, object display method, object switching method and electronic device | |
US8621386B2 (en) | File management and transfer using user interface icons associated with applications | |
CN102999254B (en) | The display control method of desktop icons and device | |
CN102156667B (en) | Electronic device with visual information conversion system | |
US20170024226A1 (en) | Information processing method and electronic device | |
US20130285948A1 (en) | Method for processing touch screen terminal object and touch screen terminal | |
US20110161989A1 (en) | Dynamic program integration | |
US9652123B2 (en) | Technique for enabling multiple actions to be performed on an active data item | |
CN104094211B (en) | The intelligence for the extension being activated distinguishes priority | |
WO2009018772A1 (en) | Method and system for managing dialog information in instant communication terminal | |
KR20110100208A (en) | Isolation of Received Information on a Locked Device | |
CN104917831A (en) | Interface presenting method, system and terminal | |
CN102640114B (en) | Method for directly manipulating incoming interactions in an instant communication client application | |
US20220107712A1 (en) | Systems and methods for providing tab previews via an operating system user interface | |
WO2014176773A1 (en) | Terminal and processing method for head portrait of contact person | |
CN103677587A (en) | Method and system for rapidly switching main interfaces in Android system | |
CN106371901A (en) | Application program switching method and device | |
CN105224676A (en) | The method of mobile terminal file migration and device | |
TWI734670B (en) | Information card processing method and device | |
CN108399002B (en) | Folder switching method and device | |
CN109697129A (en) | A kind of information sharing method, equipment and computer readable storage medium | |
CN109952557B (en) | Hierarchical content selection | |
CN114461577A (en) | Method, apparatus, device, and computer-readable storage medium for folder viewing |
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 |