CN116842539A - File management method and terminal thereof - Google Patents
File management method and terminal thereof Download PDFInfo
- Publication number
- CN116842539A CN116842539A CN202310676529.4A CN202310676529A CN116842539A CN 116842539 A CN116842539 A CN 116842539A CN 202310676529 A CN202310676529 A CN 202310676529A CN 116842539 A CN116842539 A CN 116842539A
- Authority
- CN
- China
- Prior art keywords
- file
- input
- target
- picture
- permission
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/604—Tools and structures for managing or administering access control systems
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/6218—Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2221/00—Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F2221/21—Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F2221/2141—Access rights, e.g. capability lists, access control lists, access tables, access matrices
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Computer Hardware Design (AREA)
- Health & Medical Sciences (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Databases & Information Systems (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Description
技术领域Technical field
本申请属于文件管理领域,具体涉及一种文件管理方法及其终端。This application belongs to the field of file management, and specifically relates to a file management method and its terminal.
背景技术Background technique
随着电子设备技术快速的发展,在电子设备中存储文件变得愈加方便快捷,用户可以通过电子设备存储各种文件,例如文档、图片或者视频等。With the rapid development of electronic device technology, storing files in electronic devices has become increasingly convenient and fast. Users can store various files, such as documents, pictures, or videos, through electronic devices.
但是,存储在电子设备中的重要文件存在隐私泄露的风险,目前常规的保护方式是对重要文件进行统一查看权限的管理,权限设置的方式一般是直接将重要文件移动到保险箱,权限设置方式单一,不能根据用户的实际需求对重要文件的权限进行设置管理。However, there is a risk of privacy leakage for important files stored in electronic devices. The current conventional protection method is to manage the unified viewing permissions of important files. The permission setting method is generally to directly move important files to a safe, and the permission setting method is single. , unable to set and manage the permissions of important files according to the actual needs of users.
发明内容Contents of the invention
本申请实施例的目的是提供一种文件管理方法及其终端,能够解决文件的权限管理时,权限设置方式单一的问题。The purpose of the embodiments of this application is to provide a file management method and its terminal, which can solve the problem of a single permission setting method when managing file permissions.
第一方面,本申请实施例提供了一种文件管理方法,包括:In a first aspect, embodiments of the present application provide a file management method, including:
在显示第一文件的情况下,接收用户的第一输入;In the case of displaying the first file, receiving the first input from the user;
响应于所述第一输入,显示与所述第一文件对应的至少一个权限设置标识;In response to the first input, display at least one permission setting identification corresponding to the first file;
接收用户对所述至少一个权限设置标识中目标标识的第二输入;Receive the user's second input of the target identifier in the at least one permission setting identifier;
响应于所述第二输入,根据与所述目标标识对应的权限信息对所述第一文件进行权限设置;In response to the second input, setting permissions on the first file according to permission information corresponding to the target identification;
显示标记信息,所述标记信息指示对所述第一文件进行了权限设置标识。Mark information is displayed, and the mark information indicates that permission setting is performed on the first file.
第二方面,本申请实施例提供了一种文件管理终端,包括:接收模块、显示模块以及设置模块;In the second aspect, embodiments of the present application provide a file management terminal, including: a receiving module, a display module and a setting module;
所述接收模块,用于在显示第一文件的情况下,接收用户的第一输入;The receiving module is used to receive the user's first input when the first file is displayed;
所述显示模块,用于响应于所述第一输入,显示与所述第一文件对应的至少一个权限设置标识;The display module is configured to display at least one permission setting identification corresponding to the first file in response to the first input;
所述接收模块,还用于接收用户对所述至少一个权限设置标识中目标标识的第二输入;The receiving module is also configured to receive the user's second input of the target identifier in the at least one permission setting identifier;
所述设置模块,用于响应于所述第二输入,根据与所述目标标识对应的权限信息对所述第一文件进行权限设置;The setting module is configured to set permissions on the first file according to permission information corresponding to the target identification in response to the second input;
所述显示模块,还用于显示标记信息,所述标记信息指示对所述第一文件进行了权限设置。The display module is also used to display mark information, where the mark information indicates that permissions have been set on the first file.
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。In a third aspect, embodiments of the present application provide an electronic device. The electronic device includes a processor and a memory. The memory stores programs or instructions that can be run on the processor. The programs or instructions are processed by the processor. When the processor is executed, the steps of the method described in the first aspect are implemented.
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。In the fourth aspect, embodiments of the present application provide a readable storage medium. Programs or instructions are stored on the readable storage medium. When the programs or instructions are executed by the processor, the method as described in the first aspect is implemented. A step of.
在本申请实施例中,通过在显示第一文件的情况下,显示与所述第一文件对应的至少一个权限设置标识,根据与所述至少一个权限设置标识中目标标识对应的权限信息,对所述第一文件进行权限设置,显示标记信息以指示对所述第一文件进行了权限设置标识,本申请实施例在对重要文件进行权限管理时,无需将重要文件移动到保险箱,根据用户对不同权限设置标识的选择输入实现对重要文件的权限进行多样化地设置管理,提高文件权限管理的便捷性。In the embodiment of the present application, when the first file is displayed, at least one permission setting identifier corresponding to the first file is displayed, and based on the permission information corresponding to the target identifier in the at least one permission setting identifier, the Permissions are set on the first file, and mark information is displayed to indicate that the permissions are set on the first file. When performing permission management on important files in this embodiment of the application, there is no need to move the important files to the safe. According to the user's The selective input of different permission setting marks enables diversified setting and management of permissions on important files, improving the convenience of file permission management.
附图说明Description of the drawings
图1是本申请实施例提供的文件管理方法的流程示意图之一;Figure 1 is one of the flow diagrams of the file management method provided by the embodiment of the present application;
图2是本申请实施例提供的显示界面示意图;Figure 2 is a schematic diagram of a display interface provided by an embodiment of the present application;
图3是本申请实施例提供的文件管理方法的流程示意图之二;Figure 3 is the second schematic flow chart of the file management method provided by the embodiment of the present application;
图4是本申请实施例提供的文件管理方法的流程示意图之三;Figure 4 is the third schematic flowchart of the file management method provided by the embodiment of the present application;
图5是本申请实施例提供的文件管理方法的流程示意图之四;Figure 5 is the fourth schematic flowchart of the file management method provided by the embodiment of the present application;
图6是本申请实施例提供的文件管理终端的结构示意图;Figure 6 is a schematic structural diagram of a file management terminal provided by an embodiment of the present application;
图7是本申请实施例提供的电子设备的结构示意图;Figure 7 is a schematic structural diagram of an electronic device provided by an embodiment of the present application;
图8是本申请实施例提供的电子设备的硬件示意图。Figure 8 is a hardware schematic diagram of an electronic device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art fall within the scope of protection of this application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的术语在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second", etc. in the description and claims of this application are used to distinguish similar objects and are not used to describe a specific order or sequence. It is to be understood that the terms so used are interchangeable under appropriate circumstances so that the embodiments of the application can be practiced in sequences other than those illustrated or described herein, and that "first," "second," etc. are distinguished Objects are usually of one type, and the number of objects is not limited. For example, the first object can be one or multiple. In addition, "and/or" in the description and claims indicates at least one of the connected objects, and the character "/" generally indicates that the related objects are in an "or" relationship.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的文件管理方法进行详细地说明。The file management method provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios.
图1是本申请实施例提供的文件管理方法的流程示意图之一,如图1所示,该方法包括如下流程:Figure 1 is one of the flow diagrams of the file management method provided by the embodiment of the present application. As shown in Figure 1, the method includes the following processes:
步骤S100,在显示第一文件的情况下,接收用户的第一输入。Step S100: When the first file is displayed, the user's first input is received.
在本申请实施例中,所述第一文件可以为图片、视频、详情页面或其他文档文件,在显示第一文件的情况下,接收用户的第一输入,所述第一输入用于显示与所述第一文件对应的至少一个权限设置标识。In this embodiment of the present application, the first file may be a picture, video, detail page or other document file. When the first file is displayed, the user's first input is received, and the first input is used to display and At least one permission setting identifier corresponding to the first file.
需要说明的是,本申请实施例中的权限包括但不限于是查看权限、分享权限,本申请实施例以权限为查看权限,第一文件为图片为例,对本申请的技术方案进行举例说明。权限设置模板可以是系统预设的,也可以是用户自定义设置的。例如,系统预设有3个权限设置模板,分别为权限设置模板1、权限设置模板2以及权限设置模板3,其中,权限设置模板1中仅包括权限设置标识“可查看图片的用户”,及相对应的开关控件,以实现权限设置标识对应权限的开启与关闭;而权限设置模板2中不仅包括权限设置标识“可查看图片的用户”,还包括权限设置标识“可查看图片的地点”,及相对应的开关控件;而在权限设置模板3中,不仅包括权限设置标识“可查看图片的用户”、“可查看图片的地点”,还包括权限设置标识“可查看图片的时间”,及相对应的开关控件。It should be noted that the permissions in the embodiments of this application include but are not limited to viewing permissions and sharing permissions. In the embodiment of this application, the permissions are viewing permissions and the first file is a picture as an example to illustrate the technical solution of this application. Permission setting templates can be preset by the system or customized by users. For example, the system has three default permission setting templates, namely permission setting template 1, permission setting template 2 and permission setting template 3. Among them, permission setting template 1 only includes the permission setting identification "users who can view pictures", and The corresponding switch control is used to turn on and off the corresponding permissions of the permission setting identification; and the permission setting template 2 not only includes the permission setting identification "users who can view pictures", but also includes the permission setting identification "locations where pictures can be viewed", and the corresponding switch control; and in the permission setting template 3, it not only includes the permission setting identification "users who can view the picture" and "the location where the picture can be viewed", but also includes the permission setting identification "time when the picture can be viewed", and Corresponding switch control.
需要说明的是,不同权限设置标识对应的权限可分别进行设置,例如权限设置标识“可查看图片的用户”可以设置至少一个可以查看图片的用户的身份信息,所述身份信息可以为机主,也可以为其他用户,例如亲属、朋友;权限设置标识“可查看图片的地点”可以设置至少一个可以查看图片的位置信息,所述位置信息可以为家里、公司、非公司、工厂、商场、公园等等;权限设置标识“可查看图片的时间”可以设置至少一个可以查看图片的时间点或者时间段信息,所述时间段信息可以为20:00~23:59,还可以为8:00~20:59,还可以为00:00~6:59等等,还可以设置为非上班时间、娱乐时间、学习时间、陪读时间等等,而不同权限设置标识对应的权限可以相同,可以不同,不同权限设置标识所设置的信息可以相同,也可以不同,从而为用户提供多种组合模式,满足不同用户的不同需求。It should be noted that the permissions corresponding to different permission setting identifiers can be set separately. For example, the permission setting identifier "users who can view pictures" can set the identity information of at least one user who can view pictures. The identity information can be the machine owner, It can also be used for other users, such as relatives and friends; the permission setting identifier "location where pictures can be viewed" can set at least one location information where pictures can be viewed, and the location information can be home, company, non-company, factory, shopping mall, park Etc.; the permission setting identifier "time when pictures can be viewed" can set at least one time point or time period information at which pictures can be viewed. The time period information can be 20:00~23:59, or 8:00~ 20:59, it can also be 00:00~6:59, etc. It can also be set to non-working time, entertainment time, study time, accompanying time, etc., and the permissions corresponding to different permission setting identifiers can be the same or different. The information set by different permission setting identifiers can be the same or different, thereby providing users with multiple combination modes to meet the different needs of different users.
可选地,本申请实施例还可以设置启动所有权限设置模板的方式,例如长按图片触发对应于一个权限设置模板、手势侧滑屏幕边缘触发对应于另一个权限设置模板、多指触控点击对应于又一个权限设置模板等,若是可折叠移动终端设备,可通过折叠屏幕角度触发,例如折叠屏幕角度为30°,则对应于一个权限设置模板;折叠屏幕角度为45°,则对应于另一个权限设置模板;折叠屏幕角度为60°,则对应于又一个权限设置模板。针对不同的权限设置模板,设置不同的启动指令,例如设置“权限设置模板1”的启动指令为在屏幕边缘写数字“1”,又例如设置“权限设置模板2”的启动指令为除大拇指外的四个手指从界面上方滑动至界面下方,上述示例仅用于举例说明,不用于对不同权限设置模板的具体启动方式进行限定。Optionally, the embodiment of the present application can also set a way to activate all permission setting templates, for example, long pressing the picture triggers corresponding to one permission setting template, gesture side sliding the screen edge triggers corresponding to another permission setting template, multi-finger touch click Corresponding to another permission setting template, etc., if it is a foldable mobile terminal device, it can be triggered by the folding screen angle. For example, if the folding screen angle is 30°, it corresponds to one permission setting template; if the folding screen angle is 45°, it corresponds to another permission setting template. One permission setting template; if the folding screen angle is 60°, it corresponds to another permission setting template. Set different startup instructions for different permission setting templates. For example, set the startup instruction of "Permission Setting Template 1" to write the number "1" on the edge of the screen, and set the startup instruction of "Permission Setting Template 2" to except thumb Use four fingers outside to slide from the top of the interface to the bottom of the interface. The above examples are only for illustration and are not used to limit the specific startup methods of different permission setting templates.
其中,可以通过以下2种方式对第一文件进行确定:Among them, the first file can be determined in the following two ways:
方式一:method one:
接收用户在图片缩略图界面对至少一张目标缩略图的第三输入;响应于所述第三输入,确定与所述至少一张目标缩略图对应的图片为所述第一文件。Receive a third input from the user on the picture thumbnail interface for at least one target thumbnail; in response to the third input, determine that the picture corresponding to the at least one target thumbnail is the first file.
具体的,显示所述图片缩略图界面,所述图片缩略图界面包括至少一张缩略图,所述第三输入用于从所有缩略图所显示的缩略图中确定出所有目标缩略图,可选地,通过点选的方式从所述图片缩略图界面中选出所有目标缩略图,并将所述所有目标缩略图确定为所述第一文件。Specifically, the picture thumbnail interface is displayed, the picture thumbnail interface includes at least one thumbnail, and the third input is used to determine all target thumbnails from the thumbnails displayed by all thumbnails, optionally Select all target thumbnails from the picture thumbnail interface by clicking, and determine all target thumbnails as the first file.
方式二:Method two:
在图片集合显示界面中,确定目标起始图片位置和目标终止图片位置,将所述目标起始图片位置和所述目标终止图片位置及其之间包括的图片确定为所述第一文件。In the picture collection display interface, the target starting picture position and the target ending picture position are determined, and the target starting picture position and the target ending picture position and the pictures included therebetween are determined as the first file.
具体的,在图片集合显示界面中,首先在目标起始图片位置作上第一标记,通过滑动或点击输入的方式,切换所述目标起始图片至其他显示图片,浏览其他显示图片,直至确定目标终止图片,在所述目标终止图片位置作上第二标记,将第一标记对应的目标起始图片、浏览过程中所显示的其他显示图片,以及第二标记对应的目标终止图片确定为所述第一文件。Specifically, in the picture collection display interface, first mark the position of the target starting picture, switch the target starting picture to other displayed pictures by sliding or clicking on the input, and browse other displayed pictures until the determination is made. For the target end picture, make a second mark at the position of the target end picture, and determine the target start picture corresponding to the first mark, other display pictures displayed during the browsing process, and the target end picture corresponding to the second mark. Describe the first document.
可选地,在所述图片集合显示界面中,首先为图片添加起始位置的第一标记,然后为另一张图片添加结束位置的第二标记,在本申请实施例中,所述起始位置和所述结束位置将成对出现,当操作达到三次后,则第一标记会被清除,即只会记录上一次对任一图片的标记位置以及又一图片的标记位置。Optionally, in the picture collection display interface, first add a first mark of the starting position to the picture, and then add a second mark of the ending position to another picture. In the embodiment of the present application, the starting position is The position and the end position will appear in pairs. When the operation reaches three times, the first mark will be cleared, that is, only the last marked position of any picture and the marked position of another picture will be recorded.
在本申请实施例中,第一输入为对第一文件的显示界面的点击输入或滑动手势输入,第一输入还可以是在显示第一文件的界面时,对可折叠电子设备的折叠输入等。In the embodiment of the present application, the first input is a click input or a sliding gesture input on the display interface of the first file. The first input may also be a folding input on the foldable electronic device when the interface of the first file is displayed. .
步骤S110,响应于所述第一输入,显示与所述第一文件对应的至少一个权限设置标识。Step S110: In response to the first input, display at least one permission setting identification corresponding to the first file.
在步骤S110中,在接收到第一输入时,显示与所述第一文件对应的至少一个权限设置模板的标识和所述至少一个权限设置模板中第一模板包括的权限设置标识,其中,在所述第一文件已设置权限的情况下,所述至少一个权限设置模板至少包括所述第一文件已使用的权限设置模板,所述第一模板为所述第一文件已使用的权限设置模板。In step S110, when the first input is received, the identification of at least one permission setting template corresponding to the first file and the permission setting identification included in the first template of the at least one permission setting template are displayed, wherein, in When permissions have been set on the first file, the at least one permission setting template at least includes the permission setting template used by the first file, and the first template is the permission setting template used by the first file. .
图2是本申请实施例提供的显示界面示意图,如图2a所示,以第一文件为图片W为例,在接收到第一输入时,在图片W的显示界面200中,在悬浮窗口中以分页的形式显示模板1、模板2以及模板3三个权限设置模板的标识和模板1包括的权限设置标识,其中,标记为201的“模板1”的权限设置标识包括“可查看图片的用户”的标识,如图2b所示,在图片W的显示界面200中,用户点击模板2的标识后,显示标记为203的“模板2”的权限设置标识,包括“可查看图片的用户”的标识以及“可查看图片的地点”的标识,在本申请实施例中,每个权限设置模板中包括的权限设置标识对应的权限均可以单独的开启或者关闭,可以通过点击与权限设置标识对应的开关控件实现相应权限的开启与关闭。Figure 2 is a schematic diagram of a display interface provided by an embodiment of the present application. As shown in Figure 2a, taking the first file as picture W as an example, when the first input is received, in the display interface 200 of picture W, in the floating window The identification of the three permission setting templates Template 1, Template 2 and Template 3 and the permission setting identification included in Template 1 are displayed in a paging format. Among them, the permission setting identification of "Template 1" marked as 201 includes "Users who can view pictures" " logo, as shown in Figure 2b, in the display interface 200 of picture W, after the user clicks the logo of template 2, the permission setting logo of "template 2" marked 203 is displayed, including the "users who can view the picture" logo and the logo of "the place where pictures can be viewed". In the embodiment of this application, the permissions corresponding to the permission setting logo included in each permission setting template can be turned on or off individually. You can click on the corresponding to the permission setting logo. The switch control enables the opening and closing of corresponding permissions.
需要说明的是,每次对权限设置标识对应的开关控件进行开关切换后,可进一步选择权限变更立即生效或者下次用户查看图片时生效,图2a和图2b中未进行示意。It should be noted that each time the switch control corresponding to the permission setting logo is switched on and off, you can further choose whether the permission change will take effect immediately or take effect the next time the user views the picture, which is not illustrated in Figure 2a and Figure 2b.
步骤S120,接收用户对所述至少一个权限设置标识中目标标识的第二输入。Step S120: Receive the user's second input of the target identifier in the at least one permission setting identifier.
具体地,在显示至少一个权限设置模板的标识后,用户可以选择不同的权限设置模板,在选择至少一个权限设置模板中的目标模板后,文件管理终端的显示界面显示该目标模板包括的权限设置标识,用户可以进一步选择目标模板包括的权限设置标识中的目标标识。Specifically, after displaying the identification of at least one permission setting template, the user can select different permission setting templates. After selecting a target template in at least one permission setting template, the display interface of the file management terminal displays the permission settings included in the target template. ID, the user can further select the target ID in the permission setting ID included in the target template.
作为本申请一可选实施例,步骤S102具体包括:As an optional embodiment of this application, step S102 specifically includes:
接收将所述第一文件移动至所述目标标识所在区域的第二输入;或接收将所述目标标识移动至所述第一文件所在区域的第二输入。Receive a second input to move the first file to the area where the target identification is located; or receive a second input to move the target identification to the area where the first file is located.
在本申请实施例中,所述接收将所述第一文件移动至所述目标标识所在区域的第二输入,包括:所述第一文件为在所述图片略缩图界面中被选中的图片1、图片2以及图片6,将图片1、图片2以及图片6中任意一张被选中的图片移动到某个权限设置模板的分页小标题上,所述目标标识包括模板1,则所述目标标识所在区域可以包括模板1所在区域以及所述模板1对应的权限设置模板所在区域,可选地,将图片6拖拽到权限设置模板1上的任意区域,长按后释放,即可批量给选中的图片添加相同的权限设置标识,所述权限设置标识对应的开关控件状态为“可查看图片的用户”的开启状态,即使得所述第一文件均处于可查看图片的用户对应管理权限的开启状态。In this embodiment of the present application, receiving the second input to move the first file to the area where the target identification is located includes: the first file is a picture selected in the picture thumbnail interface. 1. Picture 2 and Picture 6. Move any selected picture among Picture 1, Picture 2 and Picture 6 to the paging subtitle of a permission setting template. If the target identifier includes Template 1, then the target The area where the logo is located can include the area where template 1 is located and the area where the permission setting template corresponding to template 1 is located. Optionally, drag the picture 6 to any area on the permission setting template 1, long press and release, and you can batch give The selected pictures are added with the same permission setting identification, and the switch control status corresponding to the permission setting identification is the open state of "users who can view the pictures", that is, the first files are all in the management permission corresponding to the users who can view the pictures. On state.
在本申请实施例中,所述接收将所述目标标识移动至所述第一文件所在区域的第二输入,包括:所述第一文件为在所述图片略缩图界面中被选中的图片1、图片2以及图片6,所述目标标识为“权限设置模板1”,将“权限设置模板1”的悬浮窗口移动至图片1、图片2以及图片6中的任意一张图片上,长按后释放,即可批量为所述第一文件添加相同的权限设置标识。In this embodiment of the present application, receiving the second input for moving the target identifier to the area where the first file is located includes: the first file is a picture selected in the picture thumbnail interface. 1. Picture 2 and Picture 6. The target identification is "Permission Setting Template 1". Move the floating window of "Permission Setting Template 1" to any one of Picture 1, Picture 2 and Picture 6, and press and hold it. After releasing, the same permission setting identifiers can be added to the first files in batches.
可选地,所述接收将所述目标标识移动至所述第一文件所在区域的第二输入,还包括:所述第一文件为在所述图片略缩图界面中被选中的图片1、图片2以及图片6,所述目标标识为“模板1”,则将分页小标题“模板1”拖拽到图片1、图片2以及图片6中的任意一张图片上,长按后释放,即可批量为所述第一文件添加相同的权限设置标识。Optionally, receiving a second input for moving the target identifier to the area where the first file is located further includes: the first file is the picture 1 selected in the picture thumbnail interface. Picture 2 and Picture 6, the target identifier is "Template 1", then drag the paging subtitle "Template 1" to any one of Picture 1, Picture 2 and Picture 6, press and hold and release, that is The same permission setting identifiers can be added to the first files in batches.
可选地,所述接收用户对所述至少一个权限设置标识中目标标识的第二输入,还包括:确定所述至少一个权限设置标识中目标标识,确定所述第一文件为被选中的图片1、图片2以及图片6,在所有图片的预览界面的下方区域,显示“添加选定图片的查看权限”的指令输入框,点击“添加选定图片的查看权限”,即为接收用户对所述至少一个权限设置标识中目标标识的第二输入,即可批量为所述第一文件添加相同的权限设置标识。Optionally, receiving the user's second input of the target identifier in the at least one permission setting identifier further includes: determining the target identifier in the at least one permission setting identifier, and determining that the first file is the selected picture. 1. Picture 2 and Picture 6, in the lower area of the preview interface of all pictures, the instruction input box of "Add viewing permissions for selected pictures" is displayed. Click "Add viewing permissions for selected pictures" to receive the user's permission for all the pictures. By inputting the second input of the target identifier in the at least one permission setting identifier, the same permission setting identifiers can be added to the first files in batches.
步骤S130,响应于所述第二输入,根据与所述目标标识对应的权限信息对所述第一文件进行权限设置。Step S130: In response to the second input, permissions are set on the first file according to permission information corresponding to the target identification.
在本申请实施例中,文件管理终端可以接收将所述第一文件移动至目标模板的权限设置标识中目标标识所在区域的第二输入,或者是接收将所述目标标识移动至所述第一文件所在区域的第二输入,以上两种方式均可以实现对第一文件进行所述目标标识的添加,以实现对第一文件进行与目标标识对应权限的管理,由于所述文件管理终端中每张图片可能设置的标识是可以调整的,所述目标标识对应的权限信息可以包括预设用户信息、预设时段信息以及预设位置信息中的任意一种,也可以是预设用户信息、预设时段信息以及预设位置信息中的任意组合。In this embodiment of the present application, the file management terminal may receive the second input of moving the first file to the area where the target identification is located in the permission setting identification of the target template, or may receive the second input of moving the target identification to the first As for the second input of the area where the file is located, both of the above methods can be used to add the target identification to the first file, so as to realize the management of the permissions corresponding to the target identification for the first file. Since each file in the file management terminal The identification that may be set for each picture can be adjusted. The permission information corresponding to the target identification may include any one of preset user information, preset time period information and preset location information, or may be preset user information, preset location information. Set any combination of time period information and preset location information.
步骤S140,显示标记信息,所述标记信息指示对所述第一文件进行了权限设置。Step S140: Display mark information indicating that permissions have been set on the first file.
在本申请实施例中,所述标记信息指示对所述第一文件进行了权限设置,本申请显示与所述目标标识对应的标记信息,所述标记信息包括图标、文字以及颜色中的至少一种,为了进一步地区分出每一图片的标识,可以采用包括但不限于图标、文字以及颜色的方式表征所述标识,从而使用户能够清晰的得到添加目标权限设置标识中的标识至所述图片查看界面中的图片操作已成功的反馈。In this embodiment of the present application, the mark information indicates that permissions have been set for the first file. The present application displays mark information corresponding to the target identifier, and the mark information includes at least one of icons, text, and color. In order to further distinguish the identification of each picture, the identification can be represented by means including but not limited to icons, text and color, so that the user can clearly add the identification in the target permission setting identification to the picture. View the feedback that the image operation in the interface has been successful.
在本申请实施例中,通过在显示第一文件的情况下,显示与所述第一文件对应的至少一个权限设置标识,根据与所述至少一个权限设置标识中目标标识对应的权限信息,对所述第一文件进行权限设置,显示标记信息以指示对所述第一文件进行了权限设置标识,本申请实施例在对重要文件进行权限管理时,无需将重要文件移动到保险箱,根据用户对不同权限设置标识的选择输入实现对重要文件的权限进行多样化地设置管理,提高文件权限管理的便捷性。In the embodiment of the present application, when the first file is displayed, at least one permission setting identifier corresponding to the first file is displayed, and based on the permission information corresponding to the target identifier in the at least one permission setting identifier, the Permissions are set on the first file, and mark information is displayed to indicate that the permissions are set on the first file. When performing permission management on important files in this embodiment of the application, there is no need to move the important files to the safe. According to the user's The selective input of different permission setting marks enables diversified setting and management of permissions on important files, improving the convenience of file permission management.
如图3所示,作为本申请一可选实施例,本申请实施例提供的文件管理的方法,还包括:As shown in Figure 3, as an optional embodiment of the present application, the file management method provided by the embodiment of the present application also includes:
步骤S150,接收对所述第一文件的第四输入。Step S150: Receive a fourth input to the first file.
在步骤S150中,所述第一文件可以为一张图片,也可以为多张图片,可选地,所述第一文件包括图片1、图片2以及图片6,所述第一文件在图片缩略图界面中被选中,长按所述图片1、图片2以及图片6中的任意一张图片,或双击所述图片1、图片2以及图片6中的任意一张图片,以实现对所述第一文件的第四输入。In step S150, the first file may be one picture or multiple pictures. Optionally, the first file includes picture 1, picture 2 and picture 6. The first file is in the picture thumbnail. Selected in the thumbnail interface, press and hold any one of the pictures 1, 2, and 6, or double-click any one of the pictures 1, 2, and 6 to realize the selection of the first picture. The fourth input of a file.
步骤S160,响应于所述第四输入,显示与所述第一文件对应的至少一个权限的移除标识。Step S160: In response to the fourth input, display a removal identification of at least one permission corresponding to the first file.
在步骤S160中,文件管理终端接收对所述第一文件的第四输入后,响应于所述第四输入,可选地,在所有图片的显示界面的下方区域,显示出移除标识,所述移除标识与所述第一文件对应的至少一个权限相对应,所述移除标识可以为输入指令框“移除选定图片的查看权限”或“删除选中图片的设置权限”等相关描述。In step S160, after the file management terminal receives the fourth input of the first file, in response to the fourth input, optionally, a removal mark is displayed in the lower area of the display interface of all pictures, so The removal identification corresponds to at least one permission corresponding to the first file, and the removal identification may be an input instruction box "remove the viewing permission of the selected picture" or "delete the setting permission of the selected picture" or other related descriptions .
步骤S170,在接收到对所述移除标识的第五输入的情况下,移除所述第一文件中与所述第五输入对应的权限。Step S170: When a fifth input to the removal identifier is received, remove the permission corresponding to the fifth input in the first file.
在步骤S170中,在所述图片缩略图界面的预设区域内接收所述第五输入,移除所述第一文件中与所述第五输入对应的权限,在本申请实施例中,通过执行“移除选定图片的查看权限”的第五输入,将所选中的图片1、图片2以及图片6的查看权限删除,所述第四输入及所述第五输入包括但不限于:用户通过手指或者手写笔等触控装置的触控输入,或者为用户输入的语音指令,或者为用户输入的特定手势,或者为其他可行性输入,具体的可以根据实际使用需求确定,本申请实施例不作限定。In step S170, the fifth input is received in a preset area of the picture thumbnail interface, and the permission corresponding to the fifth input in the first file is removed. In the embodiment of the present application, by Execute the fifth input of "remove the viewing permission of the selected picture" to delete the viewing permission of the selected picture 1, picture 2 and picture 6. The fourth input and the fifth input include but are not limited to: user Touch input through a touch device such as a finger or a stylus, or a voice command input by the user, or a specific gesture input by the user, or other feasible inputs. The specifics can be determined according to actual usage requirements. Embodiments of the present application Not limited.
本申请实施例中的特定手势可以为单击手势、滑动手势、拖动手势、压力识别手势、长按手势、面积变化手势、双按手势、双击手势中的任意一种;本申请实施例中的点击输入可以为单击输入、双击输入或任意次数的点击输入等,还可以为长按输入或短按输入。The specific gesture in the embodiment of the present application may be any one of a click gesture, a sliding gesture, a drag gesture, a pressure recognition gesture, a long press gesture, an area change gesture, a double press gesture, and a double click gesture; in the embodiment of the present application The click input can be single click input, double click input or any number of click input, etc. It can also be long press input or short press input.
如图4所示,作为本申请一可选实施例,本申请实施例提供的文件管理的方法,还包括:As shown in Figure 4, as an optional embodiment of the present application, the file management method provided by the embodiment of the present application also includes:
步骤S180,接收第六输入。Step S180, receive the sixth input.
在步骤S180中,首先确定所述第六输入的手势轨迹,根据预先设置的手势轨迹与权限设置模板的对应关系,确定与所述第六输入的手势轨迹对应的权限设置模板。In step S180, the gesture trajectory of the sixth input is first determined, and a permission setting template corresponding to the gesture trajectory of the sixth input is determined based on the preset correspondence relationship between the gesture trajectory and the permission setting template.
在本申请实施例中,第六输入对应的手势轨迹包括但不限于长按图片、手势侧滑屏幕边缘、多指触控点击、多指上滑、多指下滑、折叠屏幕或者预设符号输入,可选地,本申请实施例中预先设置有多个权限设置模板,用以满足不同用户的不同图片隐藏需求,例如,长按图片的手势操作对应于其中一个权限设置模板,而手势侧滑屏幕边缘对应于另一个权限设置模板,而多指上滑对应于又一个权限设置模板。In the embodiment of the present application, the gesture tracks corresponding to the sixth input include but are not limited to long press on the picture, gesture side sliding on the edge of the screen, multi-finger touch click, multi-finger slide up, multi-finger slide down, folding the screen or preset symbol input. , optionally, multiple permission setting templates are preset in the embodiment of this application to meet different picture hiding needs of different users. For example, the gesture operation of long pressing the picture corresponds to one of the permission setting templates, and the gesture operation of sliding sideways The edge of the screen corresponds to another permission setting template, and the multi-finger upward slide corresponds to yet another permission setting template.
步骤S190,响应于所述第六输入,显示多个权限设置模板中与所述第六输入对应的权限设置模板。Step S190: In response to the sixth input, display the permission setting template corresponding to the sixth input among the plurality of permission setting templates.
在步骤S190中,所述多个权限设置模板包括模板1、模板2、模板3等等,根据所述第六输入,显示出与所述第六输入对应的权限设置模板,例如,显示模板2,所述模板2对应于权限设置模板2。In step S190, the plurality of permission setting templates include template 1, template 2, template 3, etc., and according to the sixth input, the permission setting template corresponding to the sixth input is displayed, for example, display template 2 , the template 2 corresponds to the permission setting template 2.
在本申请实施例中,不同的权限设置模板可以对应设置不同的权限设置标识,所述权限设置标识中的权限信息包括预设用户信息、预设时段信息以及预设位置信息中的至少一种,所述用户的查看权限包括用户身份信息、时间信息以及位置信息。In this embodiment of the present application, different permission setting templates can be correspondingly set with different permission setting identifiers. The permission information in the permission setting identifiers includes at least one of preset user information, preset period information, and preset location information. , the user's viewing rights include user identity information, time information and location information.
可选地,在所述权限信息中存在预设用户信息的情况下,确定所述用户身份信息与所述预设用户信息相匹配,例如,所述预设用户信息存在预设用户A,则只有在当前查看图片的用户为A的情况下,确定图片符合显示条件。Optionally, when there is preset user information in the permission information, it is determined that the user identity information matches the preset user information. For example, if the preset user information includes preset user A, then Only when the user currently viewing the picture is A, it is determined that the picture meets the display conditions.
可选地,在所述权限信息中存在预设时段信息的情况下,确定所述时间信息与所述预设时段信息相匹配,例如,所述预设时段信息存在预设时段信息为早上8点至下午5点,则只有在当前查看图片的时刻在早上8点至下午5点之间的情况下,确定图片符合显示条件。Optionally, when there is preset time period information in the permission information, it is determined that the time information matches the preset time period information. For example, the preset time period information in the preset time period information is 8 in the morning. to 5 p.m., then only if the time when the picture is currently viewed is between 8 a.m. and 5 p.m., the picture is determined to meet the display conditions.
可选地,在所述权限信息中存在预设位置信息的情况下,确定所述位置信息与所述预设位置信息相匹配,例如,所述预设位置信息中存在预设位置信息为C公司,则只有在当前查看图片的地点位于C公司或位于C公司的预设距离范围内,确定图片符合显示条件。Optionally, when there is preset location information in the permission information, it is determined that the location information matches the preset location information. For example, if the preset location information exists in the preset location information, it is C Company, then it is determined that the picture meets the display conditions only if the location currently viewing the picture is located in Company C or within the preset distance range of Company C.
可选地,有的图片设置有多个预设用户信息、预设时段信息以及预设位置信息,例如,若某一图片的权限信息包括预设用户信息以及预设位置信息,只有在用户为A且查看图片时的位置在C公司的情况下,才能显示所述图片,又例如,若某一图片的权限信息包括预设用户信息、预设时段信息以及预设位置信息,只有在用户为A,且当前查看图片的时刻在早上8点至下午5点之间,且查看图片时的位置在C公司的预设距离范围内的情况下,才能显示所述图片。Optionally, some pictures are set with multiple preset user information, preset time period information and preset location information. For example, if the permission information of a certain picture includes preset user information and preset location information, the permission information will only be displayed when the user is The picture can only be displayed when A and the location when viewing the picture is in company C. For example, if the permission information of a certain picture includes preset user information, preset time period information and preset location information, the picture can only be displayed when the user is A. The picture can be displayed only when the time when the picture is currently viewed is between 8 a.m. and 5 p.m., and the location when viewing the picture is within the preset distance range of Company C.
可选地,所述用户身份信息是根据用户特征获取的,所述用户特征包括人脸特征、指纹特征或者虹膜特征,用户在查看图片的情况下,可以通过人机交互确定用户特征,例如通过人脸识别确定正在使用终端的用户身份,通过指纹识别确定正在使用终端的用户身份,或通过虹膜认证确定正在使用终端的用户身份,还可以通过输入密码、声纹识别等确定正在使用终端的用户身份。Optionally, the user identity information is obtained based on user characteristics, which include facial features, fingerprint features, or iris features. When the user views pictures, the user characteristics can be determined through human-computer interaction, for example, through Face recognition determines the identity of the user who is using the terminal, fingerprint recognition determines the identity of the user who is using the terminal, or iris authentication determines the identity of the user who is using the terminal. You can also determine the user who is using the terminal by entering a password, voiceprint recognition, etc. identity.
图5所示,作为本申请一可选实施例,本申请实施例提供的文件管理的方法,还包括:As shown in Figure 5, as an optional embodiment of the present application, the file management method provided by the embodiment of the present application also includes:
步骤S200,在接收到第七输入的情况下,确定用户的查看权限。Step S200: When the seventh input is received, the user's viewing authority is determined.
在步骤S200中,所述用户的查看权限包括用户身份信息、时间信息以及位置信息,本申请实施例中的查看文件的操作适用于任何能够浏览文件的应用或文件管理终端,所述第七输入用于指示在用户的查看权限下查看文件,所述文件管理终端接收用户的第七输入,并打开查看文件的相关应用。In step S200, the user's viewing permissions include user identity information, time information and location information. The operation of viewing files in the embodiment of this application is applicable to any application or file management terminal that can browse files. The seventh input It is used to indicate that the file is viewed under the user's viewing authority, and the file management terminal receives the user's seventh input and opens a related application for viewing the file.
步骤S210,显示所述第一文件中与所述用户的查看权限对应的文件。Step S210: Display the files corresponding to the user's viewing permissions among the first files.
在步骤S210中,所述用户的查看权限对应的文件中包括与所述用户的查看权限对应的标识,在本申请实施例中,响应于所述第七输入,在当前查看图片时的状态下查看图片,在图片显示界面中显示所述第一文件中与所述用户的查看权限对应的文件,所述当前查看图片时的状态对应于用户的查看权限。In step S210, the file corresponding to the user's viewing authority includes an identifier corresponding to the user's viewing authority. In this embodiment of the present application, in response to the seventh input, in the current state of viewing the picture View the picture, and display the file in the first file corresponding to the user's viewing authority in the picture display interface, and the current state when viewing the picture corresponds to the user's viewing authority.
在本申请实施例中,在接收到第七输入的情况下记录查看图片时的查看状态,例如查看图片的用户的身份信息、查看图片的时间、查看图片的地点等等,而所述图片是预先设置有标识的图片,用户可以根据自身需求,对文件管理终端中的每一图片进行权限管理的预先设置,例如,有的图片只能在查看状态的用户为指定用户的时候才能显示出来,有的图片需要在指定的时间段内才能显示出来,有的图片只有在文件管理终端位于预设区域范围内才能被显示出来,有的图片需要同时满足查看图片的用户、查看图片的时间、查看图片的地点中的多个条件才能显示出来,以使得在接收用户的第七输入之时,结合当前的查看状态筛选并确定出能够进行显示的图片,并在所述图片显示界面中显示所述第一文件中与所述用户的查看权限对应的文件。In the embodiment of the present application, when the seventh input is received, the viewing status when viewing the picture is recorded, such as the identity information of the user viewing the picture, the time when the picture was viewed, the location where the picture was viewed, etc., and the picture is Pre-set pictures with logos. Users can pre-set permission management for each picture in the file management terminal according to their own needs. For example, some pictures can only be displayed when the user viewing the status is a designated user. Some pictures need to be displayed within a specified time period, some pictures can only be displayed when the file management terminal is located within the preset area, and some pictures need to satisfy the user viewing the picture, the time to view the picture, and the viewing time. Multiple conditions in the location of the picture can be displayed, so that when receiving the seventh input from the user, pictures that can be displayed are selected and determined based on the current viewing status, and the pictures are displayed in the picture display interface. The file in the first file corresponding to the viewing permission of the user.
图6是本申请实施例提供的文件管理终端的结构示意图,如图6所示,所述文件管理终端包括:接收模块、显示模块以及设置模块;Figure 6 is a schematic structural diagram of a file management terminal provided by an embodiment of the present application. As shown in Figure 6, the file management terminal includes: a receiving module, a display module and a setting module;
所述接收模块610,用于在显示第一文件的情况下,接收用户的第一输入;The receiving module 610 is configured to receive the user's first input when the first file is displayed;
所述显示模块620,用于响应于所述第一输入,显示与所述第一文件对应的至少一个权限设置标识;The display module 620 is configured to display at least one permission setting identification corresponding to the first file in response to the first input;
所述接收模块610,还用于接收用户对所述至少一个权限设置标识中目标标识的第二输入;The receiving module 610 is also configured to receive the user's second input of the target identifier in the at least one permission setting identifier;
所述设置模块630,用于响应于所述第二输入,根据与所述目标标识对应的权限信息对所述第一文件进行权限设置;The setting module 630 is configured to set permissions on the first file according to permission information corresponding to the target identification in response to the second input;
所述显示模块620,还用于显示标记信息,所述标记信息指示对所述第一文件进行了权限设置。The display module 620 is also used to display mark information, where the mark information indicates that permissions have been set on the first file.
在本申请实施例中,通过在显示第一文件的情况下,显示与所述第一文件对应的至少一个权限设置标识,根据与所述至少一个权限设置标识中目标标识对应的权限信息,对所述第一文件进行权限设置,显示标记信息以指示对所述第一文件进行了权限设置标识,本申请实施例在对重要文件进行权限管理时,无需将重要文件移动到保险箱,根据用户对不同权限设置标识的选择输入实现对重要文件的权限进行多样化地设置管理,提高文件权限管理的便捷性。In the embodiment of the present application, when the first file is displayed, at least one permission setting identifier corresponding to the first file is displayed, and based on the permission information corresponding to the target identifier in the at least one permission setting identifier, the Permissions are set on the first file, and mark information is displayed to indicate that the permissions are set on the first file. When performing permission management on important files in this embodiment of the application, there is no need to move the important files to the safe. According to the user's The selective input of different permission setting marks enables diversified setting and management of permissions on important files, improving the convenience of file permission management.
可选地,所述文件管理终端还包括确定模块600;Optionally, the file management terminal also includes a determination module 600;
所述接收模块610还用于接收用户在图片缩略图界面对至少一张目标缩略图的第三输入;The receiving module 610 is also configured to receive the user's third input to at least one target thumbnail on the picture thumbnail interface;
所述确定模块600,用于响应于所述第三输入,确定与所述至少一张目标缩略图对应的图片为所述第一文件。The determining module 600 is configured to determine, in response to the third input, that the picture corresponding to the at least one target thumbnail is the first file.
可选地,所述确定模块600还用于:Optionally, the determination module 600 is also used to:
在图片集合显示界面中,确定目标起始图片位置和目标终止图片位置,将所述目标起始图片位置和所述目标终止图片位置及其之间包括的图片确定为所述第一文件。In the picture collection display interface, the target starting picture position and the target ending picture position are determined, and the target starting picture position and the target ending picture position and the pictures included therebetween are determined as the first file.
可选地,所述接收模块610,具体用于:Optionally, the receiving module 610 is specifically used to:
接收将所述第一文件移动至所述目标标识所在区域的第二输入;或Receive a second input to move the first file to the area where the target identification is located; or
接收将所述目标标识移动至所述第一文件所在区域的第二输入。Receive a second input for moving the target identifier to the area where the first file is located.
可选地,所述文件管理终端还包括移除模块640;Optionally, the file management terminal also includes a removal module 640;
所述接收模块610,还用于接收对所述第一文件的第四输入;The receiving module 610 is also used to receive a fourth input to the first file;
所述显示模块620,还用于响应于所述第四输入,显示与所述第一文件对应的至少一个权限的移除标识;The display module 620 is further configured to, in response to the fourth input, display a removal identification of at least one permission corresponding to the first file;
所述移除模块640,用于在接收到对所述移除标识的第五输入的情况下,移除所述第一文件中与所述第五输入对应的权限。The removal module 640 is configured to remove the permission corresponding to the fifth input in the first file when a fifth input to the removal identification is received.
可选地,所述接收模块610,还用于接收第六输入;Optionally, the receiving module 610 is also used to receive the sixth input;
所述显示模块620,还用于响应于所述第六输入,显示多个权限设置模板中与所述第六输入对应的权限设置模板。The display module 620 is further configured to, in response to the sixth input, display the permission setting template corresponding to the sixth input among the plurality of permission setting templates.
可选地,所述确定模块600,还用于在接收到第七输入的情况下,确定用户的查看权限;Optionally, the determination module 600 is also configured to determine the user's viewing permission when receiving the seventh input;
所述显示模块620,还用于显示所述第一文件中与所述用户的查看权限对应的文件。The display module 620 is also configured to display files in the first file that correspond to the user's viewing permissions.
本申请实施例中的文件管理终端可以是电子设备,也可以是电子设备中的部件,例如集成电路或芯片。该电子设备可以是终端,也可以为除终端之外的其他设备。示例性的,电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、移动上网装置(Mobile Internet Device,MID)、增强现实(augmented reality,AR)/虚拟现实(virtualreality,VR)设备、机器人、可穿戴设备、超级移动个人计算机(ultra-mobile personalcomputer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,还可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personalcomputer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The file management terminal in the embodiment of the present application may be an electronic device or a component in the electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal or other devices other than the terminal. For example, the electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle-mounted electronic device, a mobile Internet device (MID), or augmented reality (AR)/virtual reality (VR) Devices, robots, wearable devices, ultra-mobile personal computers (UMPC), netbooks or personal digital assistants (PDA), etc., can also be servers, network attached storage (Network Attached Storage, NAS) , personal computer (PC), television (TV), teller machine or self-service machine, etc., the embodiments of this application are not specifically limited.
本申请实施例中的文件管理终端可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The file management terminal in the embodiment of the present application may be a device with an operating system. The operating system can be an Android operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of this application.
本申请实施例提供的文件管理终端能够实现图1至图5的方法实施例实现的各个过程,为避免重复,这里不再赘述。The file management terminal provided by the embodiment of the present application can implement various processes implemented by the method embodiments of Figures 1 to 5. To avoid duplication, they will not be described again here.
可选地,图7是本申请实施例提供的电子设备的结构示意图,如图7所示,本申请实施例还提供一种电子设备700,包括处理器701和存储器702,存储器702上存储有可在所述处理器701上运行的程序或指令,该程序或指令被处理器701执行时实现上述文件管理方法实施例的各个步骤,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, FIG. 7 is a schematic structural diagram of an electronic device provided by an embodiment of the present application. As shown in FIG. 7, an embodiment of the present application also provides an electronic device 700, including a processor 701 and a memory 702. The memory 702 stores A program or instruction that can be run on the processor 701. When executed by the processor 701, the program or instruction implements each step of the above file management method embodiment and can achieve the same technical effect. To avoid duplication, it will not be repeated here. Repeat.
需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
图8是本申请实施例提供的电子设备的硬件示意图,如图8所示,本申请实施例还提供一种电子设备。该电子设备800包括但不限于:射频单元801、网络模块802、音频输出单元803、输入单元804、传感器805、显示单元806、用户输入单元807、接口单元808、存储器809、以及处理器810等部件。FIG. 8 is a hardware schematic diagram of an electronic device provided by an embodiment of the present application. As shown in FIG. 8 , an embodiment of the present application also provides an electronic device. The electronic device 800 includes but is not limited to: radio frequency unit 801, network module 802, audio output unit 803, input unit 804, sensor 805, display unit 806, user input unit 807, interface unit 808, memory 809, processor 810, etc. part.
本领域技术人员可以理解,电子设备800还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器810逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图8中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 800 may also include a power supply (such as a battery) that supplies power to various components. The power supply may be logically connected to the processor 810 through a power management system, thereby managing charging, discharging, and function through the power management system. Consumption management and other functions. The structure of the electronic device shown in Figure 8 does not constitute a limitation on the electronic device. The electronic device may include more or less components than shown in the figure, or combine certain components, or arrange different components, which will not be described again here. .
其中,显示单元806用于:显示与所述第一文件对应的至少一个权限设置标识,显示标记信息,所述标记信息指示对所述第一文件进行了权限设置。The display unit 806 is configured to: display at least one permission setting identifier corresponding to the first file, and display mark information indicating that permissions have been set on the first file.
在本申请实施例中,通过在显示第一文件的情况下,显示与所述第一文件对应的至少一个权限设置标识,根据与所述至少一个权限设置标识中目标标识对应的权限信息,对所述第一文件进行权限设置,显示标记信息以指示对所述第一文件进行了权限设置标识,本申请实施例在对重要文件进行权限管理时,无需将重要文件移动到保险箱,根据用户对不同权限设置标识的选择输入实现对重要文件的权限进行多样化地设置管理,提高文件权限管理的便捷性。In the embodiment of the present application, when the first file is displayed, at least one permission setting identifier corresponding to the first file is displayed, and based on the permission information corresponding to the target identifier in the at least one permission setting identifier, the Permissions are set on the first file, and mark information is displayed to indicate that the permissions are set on the first file. When performing permission management on important files in this embodiment of the application, there is no need to move the important files to the safe. According to the user's The selective input of different permission setting marks enables diversified setting and management of permissions on important files, improving the convenience of file permission management.
可选地,处理器810还用于以下至少一项:Optionally, the processor 810 is also used for at least one of the following:
在显示第一文件的情况下,接收用户的第一输入;In the case of displaying the first file, receiving the first input from the user;
响应于所述第一输入,显示与所述第一文件对应的至少一个权限设置标识;In response to the first input, display at least one permission setting identification corresponding to the first file;
接收用户对所述至少一个权限设置标识中目标标识的第二输入;Receive the user's second input of the target identifier in the at least one permission setting identifier;
响应于所述第二输入,根据与所述目标标识对应的权限信息对所述第一文件进行权限设置;In response to the second input, setting permissions on the first file according to permission information corresponding to the target identification;
显示标记信息,所述标记信息指示对所述第一文件进行了权限设置。Mark information is displayed, and the mark information indicates that permissions are set on the first file.
可选地,处理器810还用于以下至少一项:Optionally, the processor 810 is also used for at least one of the following:
接收用户在图片缩略图界面对至少一张目标缩略图的第三输入;Receive a third input from the user on at least one target thumbnail on the picture thumbnail interface;
响应于所述第三输入,确定与所述至少一张目标缩略图对应的图片为所述第一文件。In response to the third input, it is determined that the picture corresponding to the at least one target thumbnail is the first file.
可选地,处理器810还用于以下至少一项:Optionally, the processor 810 is also used for at least one of the following:
在图片集合显示界面中,确定目标起始图片位置和目标终止图片位置,将所述目标起始图片位置和所述目标终止图片位置及其之间包括的图片确定为所述第一文件。In the picture collection display interface, the target starting picture position and the target ending picture position are determined, and the target starting picture position and the target ending picture position and the pictures included therebetween are determined as the first file.
可选地,处理器810还用于以下至少一项:Optionally, the processor 810 is also used for at least one of the following:
接收将所述第一文件移动至所述目标标识所在区域的第二输入;或Receive a second input to move the first file to the area where the target identification is located; or
接收将所述目标标识移动至所述第一文件所在区域的第二输入。Receive a second input for moving the target identifier to the area where the first file is located.
可选地,处理器810还用于以下至少一项:Optionally, the processor 810 is also used for at least one of the following:
接收对所述第一文件的第四输入;receiving a fourth input to the first file;
响应于所述第四输入,显示与所述第一文件对应的至少一个权限的移除标识;In response to the fourth input, display a removal identification of at least one permission corresponding to the first file;
在接收到对所述移除标识的第五输入的情况下,移除所述第一文件中与所述第五输入对应的权限。When a fifth input to the removal identification is received, the permission corresponding to the fifth input in the first file is removed.
可选地,处理器810还用于以下至少一项:Optionally, the processor 810 is also used for at least one of the following:
接收第六输入;receive sixth input;
响应于所述第六输入,显示多个权限设置模板中与所述第六输入对应的权限设置模板。In response to the sixth input, a permission setting template corresponding to the sixth input among the plurality of permission setting templates is displayed.
可选地,处理器810还用于以下至少一项:Optionally, the processor 810 is also used for at least one of the following:
在接收到第七输入的情况下,确定用户的查看权限;Upon receiving the seventh input, determining the user's viewing permissions;
显示所述第一文件中与所述用户的查看权限对应的文件。Display the files corresponding to the viewing permission of the user in the first file.
应理解的是,本申请实施例中,输入单元804可以包括图形处理器(GraphicsProcessing Unit,GPU)8041和麦克风8042,图形处理器8041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元806可包括显示面板8061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板8061。用户输入单元807包括触控面板8071以及其他输入设备8072中的至少一种。触控面板8071,也称为触摸屏。触控面板8071可包括触摸检测装置和触摸控制器两个部分。其他输入设备8072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。It should be understood that in the embodiment of the present application, the input unit 804 may include a graphics processor (Graphics Processing Unit, GPU) 8041 and a microphone 8042. The graphics processor 8041 is responsible for the image capture device (such as Process the image data of still pictures or videos obtained by the camera). The display unit 806 may include a display panel 8061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 807 includes a touch panel 8071 and at least one of other input devices 8072 . Touch panel 8071, also known as touch screen. The touch panel 8071 may include two parts: a touch detection device and a touch controller. 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 described again here.
存储器809可用于存储软件程序以及各种数据。存储器809可主要包括存储程序或指令的第一存储区和存储数据的第二存储区,其中,第一存储区可存储操作系统、至少一个功能所需的应用程序或指令(比如声音播放功能、图像播放功能等)等。此外,存储器809可以包括易失性存储器或非易失性存储器,或者,存储器809可以包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synch link DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本申请实施例中的存储器809包括但不限于这些和任意其它适合类型的存储器。Memory 809 can be used to store software programs as well as various data. The memory 809 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, Image playback function, etc.) etc. Additionally, memory 809 may include volatile memory or non-volatile memory, or memory 809 may include both volatile and non-volatile memory. Among them, the non-volatile memory can be read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electrically removable memory. Erase programmable read-only memory (Electrically EPROM, EEPROM) or flash memory. Volatile memory can be random access memory (Random Access Memory, RAM), static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random access memory (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (Synch link DRAM) , SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DRRAM). Memory 809 in embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.
处理器810可包括一个或多个处理单元;可选的,处理器810集成应用处理器和调制解调处理器,其中,应用处理器主要处理涉及操作系统、用户界面和应用程序等的操作,调制解调处理器主要处理无线通信信号,如基带处理器。可以理解的是,上述调制解调处理器也可以不集成到处理器810中。The processor 810 may include one or more processing units; optionally, the processor 810 integrates an application processor and a modem processor, where the application processor mainly handles operations related to the operating system, user interface, application programs, etc., Modem processors mainly process wireless communication signals, such as baseband processors. It can be understood that the above modem processor may not be integrated into the processor 810.
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述文件管理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Embodiments of the present application also provide a readable storage medium. Programs or instructions are stored on the readable storage medium. When the program or instructions are executed by a processor, each process of the above file management method embodiment is implemented and the same can be achieved. The technical effects will not be repeated here to avoid repetition.
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器ROM、随机存取存储器RAM、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes computer readable storage media, such as computer read-only memory ROM, random access memory RAM, magnetic disk or optical disk, etc.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better. implementation. Based on this understanding, the technical solution of the present application can be embodied in the form of a computer software product that is essentially or contributes to the existing technology. The computer software product is stored in a storage medium (such as ROM/RAM, disk , optical disk), including several instructions to cause a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in various embodiments of this application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings. However, the present application is not limited to the above-mentioned specific implementations. The above-mentioned specific implementations are only illustrative and not restrictive. Those of ordinary skill in the art will Inspired by this application, many forms can be made without departing from the purpose of this application and the scope protected by the claims, all of which fall within the protection of this application.
Claims (14)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310676529.4A CN116842539A (en) | 2023-06-08 | 2023-06-08 | File management method and terminal thereof |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310676529.4A CN116842539A (en) | 2023-06-08 | 2023-06-08 | File management method and terminal thereof |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN116842539A true CN116842539A (en) | 2023-10-03 |
Family
ID=88169667
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202310676529.4A Pending CN116842539A (en) | 2023-06-08 | 2023-06-08 | File management method and terminal thereof |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN116842539A (en) |
-
2023
- 2023-06-08 CN CN202310676529.4A patent/CN116842539A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2019062910A1 (en) | Copy and pasting method, data processing apparatus, and user device | |
| CN106055996A (en) | Method and mobile terminal for multimedia information sharing | |
| CN115373555A (en) | Folder icon display method, device, electronic device and medium | |
| WO2023198064A1 (en) | Application program starting method and apparatus, and electronic device and storage medium | |
| CN114779977A (en) | Interface display method and device, electronic equipment and storage medium | |
| WO2022242542A1 (en) | Application icon management method and electronic device | |
| WO2023185701A1 (en) | Display method and apparatus, electronic device, and readable storage medium | |
| CN112765500A (en) | Information searching method and device | |
| WO2025016426A1 (en) | Screenshot method and apparatus, electronic device, and readable storage medium | |
| WO2024245176A1 (en) | Display method and apparatus | |
| CN117111811A (en) | Screenshot method and device, electronic equipment and readable storage medium | |
| CN117311885A (en) | Picture viewing method and device | |
| WO2024078552A1 (en) | Background application management method and apparatus, electronic device and medium | |
| CN117170792A (en) | Control display method and device, electronic equipment and readable storage medium | |
| WO2024012416A1 (en) | Display method and apparatus | |
| CN116842539A (en) | File management method and terminal thereof | |
| WO2023155874A1 (en) | Application icon management method and apparatus, and electronic device | |
| CN115390778A (en) | Interface display method and device | |
| WO2023103901A1 (en) | Application management method and apparatus, and electronic device | |
| CN107169333A (en) | File management method, mobile terminal and storage medium based on fingerprint | |
| WO2022143337A1 (en) | Display control method and apparatus, and electronic device and storage medium | |
| CN113282899B (en) | Object management method, device, electronic device and readable storage medium | |
| CN117540400A (en) | File processing method, device, electronic equipment and readable storage medium | |
| CN116560775A (en) | Display method and device and electronic equipment | |
| CN116257154A (en) | Display control method and device and electronic 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 |