CN111309208A - File protection method and electronic equipment - Google Patents
File protection method and electronic equipment Download PDFInfo
- Publication number
- CN111309208A CN111309208A CN202010082814.XA CN202010082814A CN111309208A CN 111309208 A CN111309208 A CN 111309208A CN 202010082814 A CN202010082814 A CN 202010082814A CN 111309208 A CN111309208 A CN 111309208A
- Authority
- CN
- China
- Prior art keywords
- file
- icon
- display mode
- displaying
- input
- 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
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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/04817—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 using icons
-
- 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
- G06F21/6245—Protecting personal data, e.g. for financial or medical purposes
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- General Physics & Mathematics (AREA)
- Medical Informatics (AREA)
- Software Systems (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- Databases & Information Systems (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
- Telephone Function (AREA)
Abstract
本发明公开了一种文件保护方法及电子设备,该方法包括:以第一显示模式显示第一文件的图标;在第一应用程序访问或尝试访问所述第一文件的情况下,以第二显示模式显示所述第一文件的图标,所述第二显示模式不同于所述第一显示模式;其中,所述第一应用程序为除预设应用程序之外的其他应用程序。本发明通过在预设应用程序之外的其他应用程序访问或尝试访问第一文件时,更改第一文件的图标的显示模式,可以让用户直观地了解到哪些文件被无权限的应用程序访问或尝试访问,此外,本发明仅对预设应用程序之外的其他应用程序对第一文件的访问权限进行管控,不限制预设应用程序对第一文件的访问,不会影响用户正常使用,提高了用户体验。
The invention discloses a file protection method and an electronic device. The method includes: displaying an icon of a first file in a first display mode; when a first application accesses or attempts to access the first file, displaying an icon of a first file in a second The display mode displays the icon of the first file, and the second display mode is different from the first display mode; wherein, the first application program is an application program other than a preset application program. By changing the display mode of the icon of the first file when other application programs other than the preset application program access or try to access the first file, the present invention can let the user intuitively know which files are accessed by the application program without permission or which files are accessed by the application program without permission. Attempt to access, in addition, the present invention only manages and controls the access authority of other applications other than the preset application to the first file, does not limit the access of the preset application to the first file, does not affect the normal use of the user, and improves the user experience.
Description
技术领域technical field
本发明涉及无线通信领域,尤其涉及一种文件保护方法及电子设备。The present invention relates to the field of wireless communication, and in particular, to a file protection method and an electronic device.
背景技术Background technique
电子设备内通常存储有大量的隐私文件,如照片、视频、音频等,用户都希望个人的隐私信息能得到保护,使其不被恶意应用窃取。然而,随着互联网技术的发展,电子设备内安装的应用程序越来越多,许多应用程序在安装和使用的过程中会读取用户的隐私数据。Electronic devices usually store a large number of private files, such as photos, videos, and audios. Users all hope that personal private information can be protected from being stolen by malicious applications. However, with the development of Internet technology, more and more applications are installed in electronic devices, and many applications will read users' private data during installation and use.
目前,通常采用将隐私文件加密的方法来保护文件,然而,将文件加密后,所有应用程序对该文件的访问权限都将受到限制,这给用户本人正常使用文件带来了不便。At present, the method of encrypting private files is usually used to protect files. However, after the files are encrypted, the access rights of all applications to the files will be restricted, which brings inconvenience to the normal use of files by the users themselves.
发明内容SUMMARY OF THE INVENTION
本发明实施例提供一种文件保护方法及电子设备,以解决现有的文件保护方法给用户正常使用文件带来不便的问题。Embodiments of the present invention provide a file protection method and an electronic device, so as to solve the problem that the existing file protection method brings inconvenience to users in normal use of files.
为了解决上述技术问题,本发明实施例是这样实现的:In order to solve the above technical problems, the embodiments of the present invention are implemented as follows:
第一方面,本发明实施例提供了一种文件保护方法,应用于电子设备,该方法包括:以第一显示模式显示第一文件的图标;在第一应用程序访问或尝试访问所述第一文件的情况下,以第二显示模式显示所述第一文件的图标,所述第二显示模式不同于所述第一显示模式;其中,所述第一应用程序为除预设应用程序之外的其他应用程序。In a first aspect, an embodiment of the present invention provides a file protection method, applied to an electronic device, the method includes: displaying an icon of a first file in a first display mode; accessing or attempting to access the first file in a first application In the case of a file, the icon of the first file is displayed in a second display mode, and the second display mode is different from the first display mode; wherein, the first application program is other than the preset application program other applications.
第二方面,本发明实施例提供了一种电子设备,所述电子设备包括:第一显示模块,用于以第一显示模式显示第一文件的图标;第二显示模块,用于在第一应用程序访问或尝试访问所述第一文件的情况下,以第二显示模式显示所述第一文件的图标,所述第二显示模式不同于所述第一显示模式;其中,所述第一应用程序为除预设应用程序之外的其他应用程序。In a second aspect, an embodiment of the present invention provides an electronic device, the electronic device includes: a first display module for displaying an icon of a first file in a first display mode; a second display module for displaying an icon of a first file in a first display mode When the application program accesses or attempts to access the first file, the icon of the first file is displayed in a second display mode, and the second display mode is different from the first display mode; wherein the first display mode is An application is an application other than the preset application.
第三方面,本发明实施例提供了一种电子设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现上述文件保护方法的步骤。In a third aspect, an embodiment of the present invention provides an electronic device, including a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program is executed by the processor When implementing the steps of the above-mentioned file protection method.
第四方面,本发明实施例还提供了一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,所述计算机程序被所述处理器执行时实现上述文件保护方法的步骤。In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by the processor, the steps of the above file protection method are implemented.
在本发明实施例中,通过在预设应用程序之外的其他应用程序访问或尝试访问第一文件时,更改第一文件的图标的显示模式,可以让用户直观地了解到哪些文件被无权限的应用程序访问或尝试访问,此外,本发明仅对预设应用程序之外的其他应用程序对第一文件的访问权限进行管控,不限制预设应用程序对第一文件的访问,不会影响用户正常使用,提高了用户体验。In the embodiment of the present invention, by changing the display mode of the icon of the first file when an application program other than the preset application program accesses or attempts to access the first file, the user can intuitively know which files are unauthorized In addition, the present invention only manages and controls the access rights of other applications other than the preset application to the first file, does not limit the access of the preset application to the first file, and does not affect the access to the first file. The user can use it normally, which improves the user experience.
附图说明Description of drawings
图1为本发明实施例提供的文件保护方法的流程示意图之一;1 is one of the schematic flowcharts of a file protection method provided by an embodiment of the present invention;
图2为本发明实施例提供的以第二显示模式显示第一文件的图标的一种可能的情况示意图;2 is a schematic diagram of a possible situation in which an icon of a first file is displayed in a second display mode according to an embodiment of the present invention;
图3为本发明实施例提供的显示与第一文件相应的悬浮控件的一种可能的界面示意图FIG. 3 is a schematic diagram of a possible interface for displaying a floating control corresponding to a first file according to an embodiment of the present invention
图4为本发明实施例提供的文件保护方法的流程示意图之二;4 is a second schematic flowchart of a file protection method provided by an embodiment of the present invention;
图5为本发明实施例提供的文件保护方法的流程示意图之三;5 is a third schematic flowchart of a file protection method provided by an embodiment of the present invention;
图6为本发明实施例提供的显示第一文件被第一应用程序访问或尝试访问的历史记录的一种可能的界面示意图;6 is a schematic diagram of a possible interface for displaying a history record of a first file being accessed or attempted to be accessed by a first application provided by an embodiment of the present invention;
图7为本发明实施例提供的一种电子设备的结构示意图;7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
图8为本发明实施例提供的一种电子设备的硬件结构示意图FIG. 8 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
本发明实施例中“第一”、“第二”仅用于描述目的,而不能理解为指示或者暗示相对重要性。In the embodiments of the present invention, "first" and "second" are only used for description purposes, and should not be understood as indicating or implying relative importance.
本发明实施例中所述的电子设备,可以是手机、平板电脑(TabletPersonalComputer)、膝上型电脑(Laptop Computer)、个人数字助理(personaldigitalassistant,简称PDA)、移动上网装置(Mobile Internet Device,MID)或可穿戴式设备(Wearable Device)等,本发明对此不作限定。The electronic device described in the embodiment of the present invention may be a mobile phone, a tablet computer (Tablet Personal Computer), a laptop computer (Laptop Computer), a personal digital assistant (personal digital assistant, referred to as PDA), a mobile Internet device (Mobile Internet Device, MID) Or wearable device (Wearable Device), etc., which is not limited in the present invention.
如图1所示,为本发明实施例提供的文件保护方法的流程示意图之一,该文件保护方法包括S101-S102:As shown in FIG. 1, it is one of the schematic flowcharts of the file protection method provided by the embodiment of the present invention, and the file protection method includes S101-S102:
S101、以第一显示模式显示第一文件的图标;S101, displaying an icon of a first file in a first display mode;
S102、在第一应用程序访问或尝试访问所述第一文件的情况下,以第二显示模式显示所述第一文件的图标,所述第二显示模式不同于所述第一显示模式;S102. When the first application accesses or attempts to access the first file, display the icon of the first file in a second display mode, and the second display mode is different from the first display mode;
其中,所述第一应用程序为除预设应用程序之外的其他应用程序。Wherein, the first application program is other application program except the preset application program.
其中,第一文件可以是视频、音频、图片等,本发明实施例对此不做限定。第一文件可以由用户手动设置,也可以通过设置一定的预设条件,将满足条件的文件自动设置为第一文件。The first file may be video, audio, picture, etc., which is not limited in this embodiment of the present invention. The first file may be manually set by the user, or a file satisfying the condition may be automatically set as the first file by setting certain preset conditions.
其中,预设应用程序可以是用户自定义设置的,也可以将打开第一文件的默认应用程序设置为预设应用程序。可选的,由于系统应用程序相比第三方应用程序通常具有更高的安全性,可以将系统应用程序设置为预设应用程序,从而对第三方应用程序对第一文件的访问权限进行管控。The preset application program may be set by the user, or the default application program for opening the first file may be set as the preset application program. Optionally, since the system application generally has higher security than the third-party application, the system application may be set as the default application, so as to control the access authority of the third-party application to the first file.
可选的,以第二显示模式显示所述第一文件的图标包括以下至少一项:Optionally, displaying the icon of the first file in the second display mode includes at least one of the following:
将所述图标的边框以第一颜色显示;displaying the border of the icon in the first color;
将所述图标以第一颜色显示;displaying the icon in the first color;
将所述图标闪烁显示;flashing the icon;
显示所述图标及与所述图标相应的第一标记。The icon and a first indicia corresponding to the icon are displayed.
其中,第一标记可以是访问或尝试访问第一文件的第一应用程序的图标,在第一标记为第一应用程序的图标的情况下,用户可以更直观地了解到第一文件被哪个应用程序访问或尝试访问。Wherein, the first mark may be the icon of the first application that accesses or attempts to access the first file. If the first mark is the icon of the first application, the user can more intuitively know which application the first file is used for. Program access or attempted access.
如图2所示,照片4和照片7为第一文件,在第一应用程序访问或尝试访问4和照片7的情况下,照片4和照片7两个图标的边框以红色显示,使得用户可以清楚地知晓照片4和照片7被第一应用程序访问或尝试访问。As shown in Figure 2, Photo 4 and Photo 7 are the first files. When the first application accesses or attempts to access Photo 4 and Photo 7, the borders of the two icons of Photo 4 and Photo 7 are displayed in red, so that the user can It is clear that Photo 4 and Photo 7 were accessed or attempted to be accessed by the first application.
可选的,在第一应用程序访问或尝试访问所述第一文件的情况下,还可以显示与所述第一文件相应的悬浮控件。Optionally, when the first application accesses or attempts to access the first file, a floating control corresponding to the first file may also be displayed.
如图3所示,在第一应用程序访问或尝试访问第一文件的情况下,电子设备会弹出悬浮窗口对用户进行提示,这样可以让用户更及时地知晓第一文件被第一应用程序访问或尝试访问。As shown in FIG. 3 , when the first application program accesses or attempts to access the first file, the electronic device will pop up a floating window to prompt the user, so that the user can be informed in a timely manner that the first file is accessed by the first application program or try to visit.
可选的,在显示与第一文件相应的悬浮控件之后,本发明实施例提供的文件保护方法还包括:Optionally, after displaying the floating control corresponding to the first file, the file protection method provided by the embodiment of the present invention further includes:
接收用户对于所述悬浮控件的第二输入;receiving a second input from the user for the floating control;
响应于所述第二输入,跳转至所述第一文件所在的位置。In response to the second input, jumping to the location where the first file is located.
其中,第二输入可以是语音、触控或手势输入等,本发明实施例对此不作限定。The second input may be voice, touch or gesture input, etc., which is not limited in this embodiment of the present invention.
以第二输入为点击输入为例,当用户点击第一文件对应的悬浮控件后,当前界面会跳转至所述第一文件所在的位置,方便用户查看被第一应用程序访问或尝试访问的第一文件,提高了操作的便捷性。Taking the second input as the click input as an example, when the user clicks the floating control corresponding to the first file, the current interface will jump to the location of the first file, which is convenient for the user to view the information accessed or attempted to be accessed by the first application. The first file improves the convenience of operation.
本发明实施例提供的文件保护方法,通过在预设应用程序之外的其他应用程序访问或尝试访问第一文件时,更改第一文件的图标的显示模式,可以让用户直观地了解到哪些文件被无权限的应用程序访问或尝试访问,此外,本发明仅对预设应用程序之外的其他应用程序对第一文件的访问权限进行管控,不限制预设应用程序对第一文件的访问,不会影响用户正常使用,提高了用户体验。In the file protection method provided by the embodiment of the present invention, when an application program other than the preset application program accesses or attempts to access the first file, the display mode of the icon of the first file is changed, so that the user can intuitively know which files are Accessed or attempted to be accessed by an application program without permission, in addition, the present invention only manages and controls the access authority of other application programs other than the preset application program to the first file, and does not limit the access of the preset application program to the first file, It will not affect the normal use of the user and improve the user experience.
如图4所示,为本发明实施例提供的文件保护方法的流程示意图之二,该文件保护方法包括S201-S203:As shown in FIG. 4, it is the second schematic flowchart of the file protection method provided by the embodiment of the present invention, and the file protection method includes S201-S203:
S201、在以第三显示模式显示第一文件的图标的情况下,接收用户对于所述第一文件的第一输入;S201. Under the condition that the icon of the first file is displayed in the third display mode, receive the first input of the user for the first file;
S202、响应于所述第一输入,以第一显示模式显示所述第一文件的图标,所述第一显示模式不同于所述第三显示模式;S202. In response to the first input, display the icon of the first file in a first display mode, where the first display mode is different from the third display mode;
S203、在第一应用程序访问或尝试访问所述第一文件的情况下,以第二显示模式显示所述第一文件的图标,所述第二显示模式不同于所述第一显示模式;其中,所述第一应用程序为除预设应用程序之外的其他应用程序。S203. In the case that the first application accesses or attempts to access the first file, display the icon of the first file in a second display mode, where the second display mode is different from the first display mode; wherein , the first application program is other application program except the preset application program.
其中,第一输入可以是语音、触控或手势输入等,本发明实施例对此不作限定。The first input may be voice, touch or gesture input, etc., which is not limited in this embodiment of the present invention.
可选的,所述第一显示模式可以是显示所述图标及与所述图标相应的标记,例如,可以在文件图标的右上角显示“锁状”标记,以清楚地提示用户该文件处于被保护状态。Optionally, the first display mode may be to display the icon and a mark corresponding to the icon, for example, a "lock" mark may be displayed in the upper right corner of the file icon to clearly remind the user that the file is under protection status.
本发明实施例提供的文件保护方法,在用户将文件设置为第一文件后,对第一文件的显示模式进行更改,除了具有上述实施例中所述的文件保护方法所具有的有益效果外,还可以让用户更直观了解哪些文件处于被保护状态。In the file protection method provided by the embodiment of the present invention, after the user sets the file as the first file, the display mode of the first file is changed, in addition to the beneficial effects of the file protection method described in the above embodiment, It also allows users to more intuitively understand which files are protected.
如图5所示,为本发明实施例提供的文件保护方法的流程示意图之三,该文件保护方法包括S301-S304:As shown in FIG. 5 , it is a third schematic flowchart of a file protection method provided by an embodiment of the present invention, and the file protection method includes S301-S304:
S301、以第一显示模式显示第一文件的图标;S301, displaying the icon of the first file in a first display mode;
S302、在第一应用程序访问或尝试访问所述第一文件的情况下,以第二显示模式显示所述第一文件的图标,所述第二显示模式不同于所述第一显示模式;其中,所述第一应用程序为除预设应用程序之外的其他应用程序。S302. When the first application accesses or attempts to access the first file, display the icon of the first file in a second display mode, the second display mode is different from the first display mode; wherein , the first application program is other application program except the preset application program.
S303、接收用户对于所述第一文件的第三输入;S303, receiving a third input from the user for the first file;
S304、响应于所述第三输入,显示所述第一文件被所述第一应用程序访问或尝试访问的历史记录。S304. In response to the third input, display a history record of the first file being accessed or attempted to be accessed by the first application.
其中,第三输入可以是语音、触控或手势输入等,本发明实施例对此不作限定。The third input may be voice, touch or gesture input, etc., which is not limited in this embodiment of the present invention.
以第三输入为点击输入为例,用户点击第一文件后,可以弹出该文件被第一应用程序访问或尝试访问的历史记录,如图6所示,用户可以查看哪些应用程序私自访问或尝试访问了该文件,以便用户采取措施对这些应用程序的权限进行限制,或者卸载这些应用程序。Taking the third input as the click input as an example, after the user clicks the first file, a history record of the file being accessed or attempted to be accessed by the first application can pop up, as shown in Figure 6, the user can check which applications are accessed or attempted privately. The file was accessed in order for the user to take action to restrict the permissions of these applications, or to uninstall these applications.
本发明实施例提供的文件保护方法,通过显示第一文件被第一应用程序访问或尝试访问的历史记录,可以让用户清楚直观地了解哪些应用程序存在私自访问第一文件的行为,提高了用户的体验。In the file protection method provided by the embodiment of the present invention, by displaying the history record of the first file being accessed or attempted to be accessed by the first application program, the user can clearly and intuitively know which application programs have the behavior of accessing the first file privately, thereby improving the user experience. experience.
本发明实施例提供的一种电子设备,能实现上述文件保护方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The electronic device provided by the embodiment of the present invention can realize the various processes of the above-mentioned file protection method embodiments, and can achieve the same technical effect. To avoid repetition, details are not repeated here.
如图7所示,电子设备400包括:As shown in FIG. 7, the
第一显示模块401,用于以第一显示模式显示第一文件的图标;a
第二显示模块402,用于在第一应用程序访问或尝试访问所述第一文件的情况下,以第二显示模式显示所述第一文件的图标,所述第二显示模式不同于所述第一显示模式;其中,所述第一应用程序为除预设应用程序之外的其他应用程序。The
可选的,电子设备400还包括:Optionally, the
第一接收模块403,用于在以第三显示模式显示第一文件的图标的情况下,接收用户对于所述第一文件的第一输入;The
第一显示模块401,具体用于响应于所述第一输入,以第一显示模式显示所述第一文件的图标。The
可选的,电子设备400还包括:Optionally, the
第三显示模块404,用于在第一应用程序访问或尝试访问所述第一文件的情况下,显示与所述第一文件相应的悬浮控件。The
可选的,电子设备400还包括:Optionally, the
第二接收模块405,用于接收用户对于所述悬浮控件的第二输入;The
第一响应模块406,用于响应于所述第二输入,跳转至所述第一文件所在的位置。The
可选的,电子设备400还包括:Optionally, the
第三接收模块407,用于接收用户对于所述第一文件的第三输入;The
第四显示模块408,用于响应于所述第三输入,显示所述第一文件被所述第一应用程序访问或尝试访问的历史记录。The
本发明实施例提供的电子设备,通过在预设应用程序之外的其他应用程序访问或尝试访问第一文件时,更改第一文件的图标的显示模式,可以让用户直观地了解到哪些文件被无权限的应用程序访问或尝试访问,此外,本发明仅对预设应用程序之外的其他应用程序对第一文件的访问权限进行管控,不限制预设应用程序对第一文件的访问,不会影响用户正常使用,提高了用户体验。In the electronic device provided by the embodiment of the present invention, by changing the display mode of the icon of the first file when another application program other than the preset application program accesses or attempts to access the first file, the user can intuitively know which files are accessed by the first file. Application program access or attempted access without permission, in addition, the present invention only manages and controls the access authority of other application programs other than the preset application program to the first file, does not limit the access of the preset application program to the first file, does not It will affect the normal use of the user and improve the user experience.
如图8所示,为实现本发明各个实施例的一种电子设备的硬件示意图,该电子设备500包括但不限于:射频单元501、网络模块502、音频输出单元503、输入单元504、传感器505、显示单元506、用户输入单元507、接口单元508、存储器509、处理器510、以及电源511等部件。本领域技术人员可以理解,图7中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,电子设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。As shown in FIG. 8 , in order to implement a hardware schematic diagram of an electronic device according to various embodiments of the present invention, the
其中,显示单元506用于以第一显示模式显示第一文件的图标;Wherein, the
显示单元506还用于在第一应用程序访问或尝试访问所述第一文件的情况下,以第二显示模式显示所述第一文件的图标,所述第二显示模式不同于所述第一显示模式;其中,所述第一应用程序为除预设应用程序之外的其他应用程序。The
可选的,用户输入单元507用于在以第三显示模式显示第一文件的图标的情况下,接收用户对于所述第一文件的第一输入;Optionally, the
显示单元506具体用于响应于所述第一输入,以第一显示模式显示所述第一文件的图标。The
可选的,显示单元506还用于在第一应用程序访问或尝试访问所述第一文件的情况下,显示与所述第一文件相应的悬浮控件。Optionally, the
可选的,用户输入单元507还可以用于接收用户对于所述悬浮控件的第二输入;Optionally, the
处理器510用于响应于所述第二输入,跳转至所述第一文件所在的位置。The
可选的,用户输入单元507还用于接收用户对于所述第一文件的第三输入;Optionally, the
显示单元506还用于响应于所述第三输入,显示所述第一文件被所述第一应用程序访问或尝试访问的历史记录。The
应当理解的是,本发明实施例中,射频单元501可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器510处理;另外,将上行的数据发送给基站。通常,射频单元501包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元501还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in this embodiment of the present invention, the
电子设备通过网络模块502为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The electronic device provides the user with wireless broadband Internet access through the
音频输出单元503可以将射频单元501或网络模块502接收的或者在存储器509中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元503还可以提供与电子设备500执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元503包括扬声器、蜂鸣器以及受话器等。The
输入单元504用于接收音频或视频信号。输入单元504可以包括图形处理器(Graphics Processing Unit,GPU)5041和麦克风5042,图形处理器5041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元506上。经图形处理器5041处理后的图像帧可以存储在存储器509(或其它存储介质)中或者经由射频单元501或网络模块502进行发送。麦克风5042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元501发送到移动通信基站的格式输出。The
电子设备500还包括至少一种传感器505,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板5061的亮度,接近传感器可在电子设备500移动到耳边时,关闭显示面板5061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器505还可以包括距离传感器、指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The
显示单元506用于显示由用户输入的信息或提供给用户的信息。显示单元506可包括显示面板5061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板5061。The
用户输入单元507可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元507包括触控面板5071以及其他输入设备5072。触控面板5071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板5071上或在触控面板5071附近的操作)。触控面板5071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器510,接收处理器510发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板5071。The
除了触控面板5071,用户输入单元507还可以包括其他输入设备5072。具体地,其他输入设备5072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。In addition to the
进一步的,触控面板5071可覆盖在显示面板5061上,当触控面板5071检测到在其上或附近的触摸操作后,传送给处理器510以确定触摸事件的类型,随后处理器510根据触摸事件的类型在显示面板5061上提供相应的视觉输出。虽然在图8中,触控面板5071与显示面板5061是作为两个独立的部件来实现电子设备的输入和输出功能,但是在某些实施例中,可以将触控面板5071与显示面板5061集成而实现电子设备的输入和输出功能,具体此处不作限定。Further, the
接口单元508为外部装置与电子设备500连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元508可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到电子设备500内的一个或多个元件或者可以用于在电子设备500和外部装置之间传输数据。The
存储器509可用于存储软件程序以及各种数据。存储器509可主要包括存储程序和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器509可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The
处理器510是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器509内的软件程序和/或模块,以及调用存储在存储器509内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。处理器510可包括一个或多个处理单元;优选的,处理器510可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器510中。The
电子设备500还可以包括给各个部件供电的电源511(比如电池),优选的,电源511可以通过电源管理系统与处理器510逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The
另外,电子设备500包括一些未示出的功能模块,在此不再赘述。In addition, the
本发明实施例还提供一种电子设备,包括处理器,存储器,存储在存储器上并可在所述处理器上运行的计算机程序,该计算机程序被处理器执行时实现上述文件保护方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present invention further provides an electronic device, including a processor, a memory, a computer program stored in the memory and running on the processor, and when the computer program is executed by the processor, implements the above-mentioned file protection method embodiments Each process can achieve the same technical effect. In order to avoid repetition, it will not be repeated here.
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述文件保护方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Embodiments of the present invention further provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the foregoing file protection method embodiments can be implemented, and the same technology can be achieved. The effect, in order to avoid repetition, is not repeated here. The computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk, or an optical disk.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or 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.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general hardware platform, and of course hardware can also be used, but in many cases the former is better implementation. Based on this understanding, the technical solutions of the present invention can be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products are stored in a storage medium (such as ROM/RAM, magnetic disk, CD), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present invention.
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。The embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of the present invention, without departing from the spirit of the present invention and the scope protected by the claims, many forms can be made, which all belong to the protection of the present invention.
以上所述的是本发明的优选实施方式,应当指出对于本技术领域的普通人员来说,在不脱离本发明所述的原理前提下还可以作出若干改进和润饰,这些改进和润饰也在本发明的保护范围内。The above are the preferred embodiments of the present invention, and it should be pointed out that for those skilled in the art, several improvements and modifications can be made without departing from the principles of the present invention, and these improvements and modifications are also included in the present invention. within the scope of protection of the invention.
Claims (14)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010082814.XA CN111309208A (en) | 2020-02-07 | 2020-02-07 | File protection method and electronic equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010082814.XA CN111309208A (en) | 2020-02-07 | 2020-02-07 | File protection method and electronic equipment |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN111309208A true CN111309208A (en) | 2020-06-19 |
Family
ID=71156458
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010082814.XA Pending CN111309208A (en) | 2020-02-07 | 2020-02-07 | File protection method and electronic equipment |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111309208A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112261216A (en) * | 2020-10-20 | 2021-01-22 | 北京字节跳动网络技术有限公司 | Terminal control method and device, terminal and storage medium |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103838622A (en) * | 2012-11-27 | 2014-06-04 | 联想(北京)有限公司 | Information processing method and electronic equipment |
| KR101685014B1 (en) * | 2016-02-19 | 2016-12-12 | 주식회사 블랙포트시큐리티 | Detection and blocking method of ransome ware of computer system and device thereof |
| CN108681427A (en) * | 2018-05-28 | 2018-10-19 | 维沃移动通信有限公司 | A kind of method and terminal device of access privilege control |
| CN109583234A (en) * | 2018-11-28 | 2019-04-05 | 维沃移动通信有限公司 | Display methods, terminal and computer readable storage medium |
| CN109670293A (en) * | 2018-12-21 | 2019-04-23 | 联想(北京)有限公司 | Information processing method and electronic equipment |
-
2020
- 2020-02-07 CN CN202010082814.XA patent/CN111309208A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103838622A (en) * | 2012-11-27 | 2014-06-04 | 联想(北京)有限公司 | Information processing method and electronic equipment |
| KR101685014B1 (en) * | 2016-02-19 | 2016-12-12 | 주식회사 블랙포트시큐리티 | Detection and blocking method of ransome ware of computer system and device thereof |
| CN108681427A (en) * | 2018-05-28 | 2018-10-19 | 维沃移动通信有限公司 | A kind of method and terminal device of access privilege control |
| CN109583234A (en) * | 2018-11-28 | 2019-04-05 | 维沃移动通信有限公司 | Display methods, terminal and computer readable storage medium |
| CN109670293A (en) * | 2018-12-21 | 2019-04-23 | 联想(北京)有限公司 | Information processing method and electronic equipment |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112261216A (en) * | 2020-10-20 | 2021-01-22 | 北京字节跳动网络技术有限公司 | Terminal control method and device, terminal and storage medium |
| CN112261216B (en) * | 2020-10-20 | 2022-05-03 | 北京字节跳动网络技术有限公司 | Terminal control method and device, terminal and storage medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN109379484B (en) | An information processing method and terminal | |
| CN108021825A (en) | A privacy information protection method, mobile terminal | |
| US11989330B2 (en) | Permission management method and terminal device | |
| WO2021136138A1 (en) | Information prompting method and electronic device | |
| CN110674490A (en) | Application permission display method, device and mobile terminal | |
| WO2020220876A1 (en) | Application interface displaying method and mobile terminal | |
| CN107783719A (en) | One kind applies recommendation method, mobile terminal and computer-readable recording medium | |
| CN110457921A (en) | Rights management method and terminal device | |
| CN111309205A (en) | Application sharing method, first electronic device and computer-readable storage medium | |
| CN108710806A (en) | A terminal unlocking method, mobile terminal | |
| CN109522741B (en) | Application program permission prompting method and terminal equipment thereof | |
| WO2020199987A1 (en) | Message display method and mobile terminal | |
| CN111367450A (en) | Application program control method, electronic device and medium | |
| CN111125680A (en) | Permission setting method and terminal device | |
| CN109992941A (en) | A kind of right management method and terminal device | |
| CN110276209A (en) | A kind of alarm method and mobile terminal | |
| CN110210206A (en) | A kind of right management method and terminal | |
| WO2021121178A1 (en) | Application startup method and electronic device | |
| WO2020192415A1 (en) | Permission configuration method and terminal device | |
| CN108319432A (en) | A kind of application operation method and terminal | |
| CN109976844A (en) | A kind of message display method and mobile terminal | |
| CN111159738B (en) | Permission configuration method, application login method and device | |
| CN110096893B (en) | Object limiting method and terminal equipment | |
| WO2021098707A1 (en) | Application program control method and electronic device | |
| CN109815678B (en) | A rights configuration method and mobile terminal |
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 | ||
| TA01 | Transfer of patent application right | ||
| TA01 | Transfer of patent application right |
Effective date of registration: 20210416 Address after: 311121 Room 305, Building 20, Longquan Road, Cangqian Street, Yuhang District, Hangzhou City, Zhejiang Province Applicant after: VIVO MOBILE COMMUNICATION (HANGZHOU) Co.,Ltd. Address before: 283 No. 523860 Guangdong province Dongguan city Changan town usha BBK Avenue Applicant before: VIVO MOBILE COMMUNICATION Co.,Ltd. |
|
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200619 |
