CN107220552B - A kind of encryption and decryption approaches and mobile terminal - Google Patents
A kind of encryption and decryption approaches and mobile terminal Download PDFInfo
- Publication number
- CN107220552B CN107220552B CN201710377339.7A CN201710377339A CN107220552B CN 107220552 B CN107220552 B CN 107220552B CN 201710377339 A CN201710377339 A CN 201710377339A CN 107220552 B CN107220552 B CN 107220552B
- Authority
- CN
- China
- Prior art keywords
- arrangement state
- state
- target
- objects
- target folder
- 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.)
- Active
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/602—Providing cryptographic facilities or services
-
- 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
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- General Health & Medical Sciences (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Bioethics (AREA)
- Databases & Information Systems (AREA)
- Storage Device Security (AREA)
Abstract
本发明提供一种加密和解密方法及移动终端,其中方法包括:检测目标文件夹中对象的排布状态是否有变化;若检测到所述目标文件夹中对象的排布状态有变化,则将变化后的所述目标文件夹中对象的排布状态与预设的解密排布状态进行比对;若所述目标文件夹中对象的排布状态与所述解密排布状态相匹配,则将所述目标文件夹中处于加密状态的目标对象设置为解密状态。本发明实施例能够实现对目标对象的私密性防护;可以通过目标文件夹对多个目标对象进行统一控制,提高了移动终端对目标对象的控制效率;以目标文件夹中对象的排布状态作为加密和解密手段,对于用户而言不仅直观、操作简捷,而且不易为他人察觉,提高了目标对象加密的安全性。
The present invention provides an encryption and decryption method and a mobile terminal, wherein the method includes: detecting whether there is a change in the arrangement state of the objects in the target folder; if it is detected that the arrangement state of the objects in the target folder has changed, the The changed arrangement state of the objects in the target folder is compared with the preset decryption arrangement state; if the arrangement state of the objects in the target folder matches the decryption arrangement state, then the The target objects in the encrypted state in the target folder are set in the decrypted state. The embodiment of the present invention can realize the privacy protection of the target object; multiple target objects can be uniformly controlled through the target folder, which improves the control efficiency of the mobile terminal to the target object; the arrangement state of the objects in the target folder is used as The encryption and decryption methods are not only intuitive and easy to operate for users, but also difficult for others to detect, which improves the security of the target object encryption.
Description
技术领域technical field
本发明涉及通信技术领域,尤其涉及一种加密和解密方法及移动终端。The invention relates to the technical field of communication, in particular to an encryption and decryption method and a mobile terminal.
背景技术Background technique
随着移动终端智能化程度日益提高,移动终端的用途越来越广泛。移动终端中的各种对象(如应用程序、文件等)为用户的生活带来了便利。以支付类应用程序(APP,Application)为例,这类对象几乎成为大部分用户安装于移动终端中的必备对象。通常这些对象中包含有个人隐私信息或财产安全信息,目前这些对象缺乏私密性防护,任何人都可以随意查看或使用,可能导致个人隐私信息暴露,或者财产损失。可见,现有移动终端中的对象缺乏私密性防护。With the increasing intelligence of mobile terminals, the usage of mobile terminals is becoming more and more extensive. Various objects (such as application programs, files, etc.) in the mobile terminal bring convenience to the user's life. Taking the payment application program (APP, Application) as an example, this type of object has almost become a must-have object installed in mobile terminals by most users. Usually these objects contain personal privacy information or property security information. Currently, these objects lack privacy protection, and anyone can view or use them at will, which may lead to exposure of personal privacy information or property loss. It can be seen that the objects in the existing mobile terminals lack privacy protection.
发明内容Contents of the invention
本发明实施例提供一种加密和解密方法及移动终端,以解决现有移动终端中的对象缺乏私密性防护的问题。Embodiments of the present invention provide an encryption and decryption method and a mobile terminal to solve the problem of lack of privacy protection for objects in existing mobile terminals.
第一方面,本发明实施例提供了一种加密和解密方法,应用于移动终端,包括:In the first aspect, an embodiment of the present invention provides an encryption and decryption method applied to a mobile terminal, including:
检测目标文件夹中对象的排布状态是否有变化;Detect whether the arrangement status of objects in the target folder has changed;
若检测到所述目标文件夹中对象的排布状态有变化,则将变化后的所述目标文件夹中对象的排布状态与预设的解密排布状态进行比对;If it is detected that there is a change in the arrangement state of the objects in the target folder, comparing the changed arrangement state of the objects in the target folder with the preset decryption arrangement state;
若所述目标文件夹中对象的排布状态与所述解密排布状态相匹配,则将所述目标文件夹中处于加密状态的目标对象设置为解密状态;If the arrangement state of the objects in the target folder matches the decryption arrangement state, then the target objects in the encrypted state in the target folder are set to the decrypted state;
其中,处于加密状态的所述目标对象的启动权限和/或操作权限为关闭状态;所述排布状态包括:所述目标文件夹中对象的个数、对象的排列顺序、对象的排列形状中的至少一项。Wherein, the startup authority and/or operation authority of the target object in the encrypted state is closed; the arrangement state includes: the number of objects in the target folder, the arrangement order of objects, and the arrangement shape of objects. at least one of the .
第二方面,本发明实施例还提供一种移动终端,包括:In the second aspect, the embodiment of the present invention also provides a mobile terminal, including:
第一检测模块,用于检测目标文件夹中对象的排布状态是否有变化;The first detection module is used to detect whether the arrangement state of the objects in the target folder has changed;
比对模块,用于若检测到所述目标文件夹中对象的排布状态有变化,则将变化后的所述目标文件夹中对象的排布状态与预设的解密排布状态进行比对;A comparison module, configured to compare the changed arrangement state of objects in the target folder with a preset decrypted arrangement state if it is detected that the arrangement state of the objects in the target folder has changed ;
第一设置模块,用于若所述目标文件夹中对象的排布状态与所述解密排布状态相匹配,则将所述目标文件夹中处于加密状态的目标对象设置为解密状态;A first setting module, configured to set the target object in the encrypted state in the target folder to the decrypted state if the arrangement state of the objects in the target folder matches the decrypted arrangement state;
其中,处于加密状态的所述目标对象的启动权限和/或操作权限为关闭状态;所述排布状态包括:所述目标文件夹中对象的个数、对象的排列顺序、对象的排列形状中的至少一项。Wherein, the startup authority and/or operation authority of the target object in the encrypted state is closed; the arrangement state includes: the number of objects in the target folder, the arrangement order of objects, and the arrangement shape of objects. at least one of the .
第三方面,本发明实施例还提供另一种移动终端,包括处理器,存储器,存储在所述存储器上并可在所述处理器上运行的加密和解密处理程序,所述加密和解密处理程序被所述处理器执行时实现上述加密和解密方法的步骤。In the third aspect, the embodiment of the present invention also provides another mobile terminal, including a processor, a memory, an encryption and decryption processing program stored on the memory and operable on the processor, and the encryption and decryption processing When the program is executed by the processor, the steps of the above encryption and decryption methods are realized.
第四方面,本发明实施例还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有加密和解密处理程序,所述加密和解密处理程序被处理器执行时实现上述加密和解密方法的步骤。In the fourth aspect, the embodiment of the present invention also provides a computer-readable storage medium, where an encryption and decryption processing program is stored on the computer-readable storage medium, and when the encryption and decryption processing program is executed by a processor, the above-mentioned encryption and decryption processing is implemented. The steps of the decryption method.
这样,本发明实施例中,通过检测目标文件夹中对象的排布状态是否有变化;若检测到所述目标文件夹中对象的排布状态有变化,则将变化后的所述目标文件夹中对象的排布状态与预设的解密排布状态进行比对;若所述目标文件夹中对象的排布状态与所述解密排布状态相匹配,则将所述目标文件夹中处于加密状态的目标对象设置为解密状态。本发明实施例能够实现对目标对象的私密性防护;可以通过目标文件夹对多个目标对象进行统一控制,相比于对单个目标对象分别进行控制,提高了移动终端对目标对象的控制效率;以目标文件夹中对象的排布状态作为加密和解密手段,对于用户而言不仅直观、操作简捷,而且不易为他人察觉,提高了目标对象加密的安全性。In this way, in the embodiment of the present invention, by detecting whether there is a change in the arrangement state of the objects in the target folder; if it is detected that the arrangement state of the objects in the target folder has changed, the changed target folder Compare the arrangement state of the objects in the target folder with the preset decryption arrangement state; if the arrangement state of the objects in the target folder matches the decryption arrangement state, the encrypted The target object of the state is set to the decrypted state. The embodiment of the present invention can realize the privacy protection of the target object; multiple target objects can be uniformly controlled through the target folder, which improves the control efficiency of the mobile terminal to the target object compared to controlling a single target object separately; Using the arrangement of objects in the target folder as the means of encryption and decryption is not only intuitive and easy to operate for users, but also difficult for others to detect, which improves the security of target object encryption.
附图说明Description of drawings
为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获取其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the description of the embodiments of the present invention. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained based on these drawings without any creative effort.
图1是本发明实施例提供的加密和解密方法的流程图之一;Fig. 1 is one of the flowcharts of the encryption and decryption method provided by the embodiment of the present invention;
图2是本发明实施例提供的加密和解密方法的流程图之二;Fig. 2 is the second flow chart of the encryption and decryption method provided by the embodiment of the present invention;
图2-1是本发明实施例提供的目标文件夹显示有加密标识的示意图;Fig. 2-1 is a schematic diagram of a target folder provided by an embodiment of the present invention showing an encrypted logo;
图2-2是本发明实施例提供的目标文件夹显示有操作按钮的示意图;Fig. 2-2 is a schematic diagram showing operation buttons displayed in the target folder provided by the embodiment of the present invention;
图3是本发明实施例提供的加密和解密方法的流程图之三;Fig. 3 is the third flowchart of the encryption and decryption method provided by the embodiment of the present invention;
图4是本发明实施例提供的加密和解密方法的流程图之四;Fig. 4 is the fourth flowchart of the encryption and decryption method provided by the embodiment of the present invention;
图5是本发明实施例提供的移动终端的结构图之一;Fig. 5 is one of the structural diagrams of the mobile terminal provided by the embodiment of the present invention;
图6是本发明实施例提供的移动终端的结构图之二;FIG. 6 is the second structural diagram of the mobile terminal provided by the embodiment of the present invention;
图7是本发明实施例提供的移动终端的结构图之三;FIG. 7 is the third structural diagram of the mobile terminal provided by the embodiment of the present invention;
图8是本发明实施例提供的移动终端的结构图之四;FIG. 8 is a fourth structural diagram of a mobile terminal provided by an embodiment of the present invention;
图9是本发明实施例提供的移动终端的结构图之五;FIG. 9 is the fifth structural diagram of the mobile terminal provided by the embodiment of the present invention;
图10是本发明实施例提供的移动终端的结构图之六。FIG. 10 is the sixth structural diagram of the mobile terminal provided by the embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获取的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
参见图1,图1是本发明实施例提供的加密和解密方法的流程图之一,如图1所示,该方法应用于移动终端,包括以下步骤:Referring to FIG. 1, FIG. 1 is one of the flowcharts of the encryption and decryption method provided by the embodiment of the present invention. As shown in FIG. 1, the method is applied to a mobile terminal and includes the following steps:
步骤101、检测目标文件夹中对象的排布状态是否有变化。Step 101. Detect whether the arrangement state of the objects in the target folder has changed.
本发明实施例可以适应于移动终端中的任何对象,即本发明实施例可以对移动终端中的任何对象进行加密和解密控制。例如,该对象可以是存储于移动终端中的应用程序APP(例如社交类APP、支付类APP、媒体播放器或浏览器等),也可以是存储于移动终端中的各类文件(例如图片、音频、视频或文档等)。The embodiment of the present invention can be adapted to any object in the mobile terminal, that is, the embodiment of the present invention can perform encryption and decryption control on any object in the mobile terminal. For example, the object may be an application program APP (such as social APP, payment APP, media player or browser, etc.) stored in the mobile terminal, or various files stored in the mobile terminal (such as pictures, audio, video or documents, etc.).
本发明实施例通过设置目标文件夹以及目标文件夹内对象的排布状态的方式,实现对目标文件夹中的目标对象进行加密或解密的目的。In the embodiment of the present invention, the purpose of encrypting or decrypting the target objects in the target folder is achieved by setting the target folder and the arrangement state of the objects in the target folder.
这里,目标对象区别于普通意义的对象,普通意义的对象可以随意被查看或者被使用,目标对象只有在解密状态下可以被查看或者被使用,而在加密状态则无法被查看或者被使用。Here, the target object is different from the ordinary object, which can be viewed or used at will, and the target object can only be viewed or used in the decrypted state, but cannot be viewed or used in the encrypted state.
同样的,目标文件夹区别于普通意义的文件夹,目标文件夹中对象的排布状态决定其中的目标对象是处于加密状态还是解密状态。Similarly, the target folder is different from ordinary folders. The arrangement state of the objects in the target folder determines whether the target objects in the target folder are in the encrypted state or the decrypted state.
移动终端中目标文件夹的数量可以为至少一个,每个目标文件夹中目标对象的数量也可以为至少一个。目标文件夹可以是移动终端中的任何文件夹,例如,用于归整图片的相册文件夹,用于归整文档的文件夹,设置于移动终端桌面上用于归整APP的桌面文件夹,等等。The number of target folders in the mobile terminal may be at least one, and the number of target objects in each target folder may also be at least one. The target folder can be any folder in the mobile terminal, for example, an album folder for organizing pictures, a folder for organizing documents, and a desktop folder for organizing APPs set on the desktop of the mobile terminal, and many more.
其中,目标文件夹中对象的排布状态可以包括以下至少一项:目标文件夹中对象的名称;目标文件夹中对象的个数;目标文件夹中对象的排列顺序;目标文件夹中对象的排列形状。用户可以根据加密需求,设置复杂程度不一的排布状态。Wherein, the arrangement state of the objects in the target folder may include at least one of the following: the name of the objects in the target folder; the number of objects in the target folder; the arrangement order of the objects in the target folder; Arrange shapes. Users can set arrangement states of varying degrees of complexity according to encryption requirements.
本发明实施例侧重于将处于加密状态的目标对象进行解密的方法,以下分别从步骤101至步骤103进行具体说明。The embodiment of the present invention focuses on the method of decrypting the target object in the encrypted state, which will be described in detail from step 101 to step 103 respectively below.
该步骤中,移动终端可以检测目标文件夹中对象的排布状态是否有变化。可以理解为,当前目标文件夹中目标对象处于加密状态。如果检测到目标文件夹中对象的排布状态有变化,则继续执行步骤102;如果未检测到目标文件夹中对象的排布状态有变化,则结束该流程。In this step, the mobile terminal can detect whether there is a change in the arrangement state of the objects in the target folder. It can be understood that the target object in the current target folder is in an encrypted state. If it is detected that there is a change in the arrangement state of the objects in the target folder, continue to execute step 102; if it is not detected that there is a change in the arrangement state of the objects in the target folder, then end the process.
步骤102、若检测到所述目标文件夹中对象的排布状态有变化,则将变化后的所述目标文件夹中对象的排布状态与预设的解密排布状态进行比对。Step 102: If it is detected that the arrangement state of the objects in the target folder has changed, compare the changed arrangement state of the objects in the target folder with the preset decrypted arrangement state.
在步骤101中,如果移动终端检测到目标文件夹中对象的排布状态有变化,则在该步骤中,移动终端可以获取变化后的目标文件夹中对象的排布状态,并将变化后的目标文件夹中对象的排布状态与解密排布状态进行比对。In step 101, if the mobile terminal detects that there is a change in the arrangement state of the objects in the target folder, then in this step, the mobile terminal can obtain the changed arrangement state of the objects in the target folder, and store the changed The arrangement state of the objects in the target folder is compared with the decrypted arrangement state.
其中,解密排布状态可以是用户预先设置的,设置好之后,该解密排布状态即成为解密目标文件夹中目标对象的密码。在任意时刻,用户可以对之前设置好的解密排布状态进行更改。Wherein, the decryption arrangement state may be preset by the user. After setting, the decryption arrangement state becomes the password of the target object in the decryption target folder. At any time, the user can change the previously set decryption arrangement status.
步骤103、若所述目标文件夹中对象的排布状态与所述解密排布状态相匹配,则将所述目标文件夹中处于加密状态的目标对象设置为解密状态。Step 103: If the arrangement state of the objects in the target folder matches the decryption arrangement state, set the target objects in the encrypted state in the target folder to the decrypted state.
在步骤102中,如果目标文件夹中对象的排布状态与解密排布状态相匹配,则在该步骤中,移动终端可以将目标文件夹中处于加密状态的目标对象设置为解密状态。可以理解为,处于加密状态的目标对象的启动权限和/或操作权限为关闭状态。In step 102, if the arrangement state of the objects in the target folder matches the decryption arrangement state, then in this step, the mobile terminal may set the target objects in the encrypted state in the target folder to the decrypted state. It can be understood that the start permission and/or operation permission of the target object in the encrypted state is closed.
至此,目标文件夹中的目标对象解密完成,用户可以查看或者使用目标文件夹中的目标对象。So far, the decryption of the target object in the target folder is completed, and the user can view or use the target object in the target folder.
可见,用户可以通过调整该目标文件夹中对象的排布状态,使移动终端将处于加密状态的目标对象进行解密。容易理解,用户(或移动终端)也可以通过调整该目标文件夹中对象的排布状态,使移动终端将处于解密状态的目标对象进行加密,因而能够实现对目标对象的私密性防护;可以通过目标文件夹对多个目标对象进行统一控制,相比于对单个目标对象分别进行控制,提高了移动终端对目标对象的控制效率;以目标文件夹中对象的排布状态作为加密和解密手段,对于用户而言不仅直观、操作简捷,而且不易为他人察觉,提高了目标对象加密的安全性It can be seen that the user can make the mobile terminal decrypt the encrypted target object by adjusting the arrangement state of the objects in the target folder. It is easy to understand that the user (or mobile terminal) can also make the mobile terminal encrypt the target object in the decrypted state by adjusting the arrangement state of the objects in the target folder, so that the privacy protection of the target object can be realized; The target folder controls multiple target objects in a unified way, which improves the control efficiency of the mobile terminal on the target objects compared to the separate control of a single target object; the arrangement of the objects in the target folder is used as the means of encryption and decryption. Not only is it intuitive and easy to operate for users, but it is also difficult for others to detect, which improves the security of target object encryption
本发明实施例中,上述移动终端可以是任何具有文件夹设置功能的设备,例如:计算机(Computer)、手机、平板电脑(Tablet Personal Computer)、膝上型电脑(LaptopComputer)、个人数字助理(personal digital assistant,简称PDA)、移动上网电子设备(Mobile Internet Device,MID)、可穿戴式设备(Wearable Device)等。In the embodiment of the present invention, the above-mentioned mobile terminal can be any device with folder setting function, for example: computer (Computer), mobile phone, tablet computer (Tablet Personal Computer), laptop computer (LaptopComputer), personal digital assistant (personal digital assistant) digital assistant (PDA for short), mobile Internet device (Mobile Internet Device, MID), wearable device (Wearable Device), etc.
本发明实施例的加密和解密方法,检测目标文件夹中对象的排布状态是否有变化;若检测到所述目标文件夹中对象的排布状态有变化,则将变化后的所述目标文件夹中对象的排布状态与预设的解密排布状态进行比对;若所述目标文件夹中对象的排布状态与所述解密排布状态相匹配,则将所述目标文件夹中处于加密状态的目标对象设置为解密状态。这样,本发明实施例通过预先设置用于解密目标对象的解密排布状态,在目标文件夹中对象的排布状态与该解密排布状态相匹配时,对目标对象进行解密,反之则对目标对象进行加密。可见,本发明实施例能够实现对目标对象的私密性防护;可以通过目标文件夹对多个目标对象进行统一控制,相比于对单个目标对象分别进行控制,提高了移动终端对目标对象的控制效率;以目标文件夹中对象的排布状态作为加密和解密手段,对于用户而言不仅直观、操作简捷,而且不易为他人察觉,提高了目标对象加密的安全性。The encryption and decryption method of the embodiment of the present invention detects whether there is a change in the arrangement state of the objects in the target folder; if it is detected that the arrangement state of the objects in the target folder changes, the changed target file Compare the arrangement state of the objects in the folder with the preset decryption arrangement state; if the arrangement state of the objects in the target folder matches the decryption arrangement state, then the The target object in the encrypted state is set to the decrypted state. In this way, the embodiment of the present invention pre-sets the decryption arrangement state for decrypting the target object, and when the arrangement state of the object in the target folder matches the decryption arrangement state, the target object is decrypted; otherwise, the target object is decrypted. Objects are encrypted. It can be seen that the embodiment of the present invention can realize the privacy protection of the target object; multiple target objects can be controlled uniformly through the target folder, which improves the control of the target object by the mobile terminal compared with controlling a single target object separately. Efficiency: Using the arrangement of objects in the target folder as the means of encryption and decryption is not only intuitive and easy to operate for users, but also difficult for others to detect, which improves the security of target object encryption.
参见图2,图2是本发明实施例提供的加密和解密方法的流程图之二,如图2所示,该方法应用于移动终端,包括以下步骤:Referring to FIG. 2, FIG. 2 is the second flow chart of the encryption and decryption method provided by the embodiment of the present invention. As shown in FIG. 2, the method is applied to a mobile terminal and includes the following steps:
步骤201、接收用户输入的对目标文件夹的加密信息。Step 201, receiving the encryption information of the target folder input by the user.
其中,加密信息包括:目标文件夹对应的至少一个目标对象,目标文件夹对应的解密排布状态,和目标文件夹对应的至少一个加密排布状态。Wherein, the encryption information includes: at least one target object corresponding to the target folder, a decryption arrangement state corresponding to the target folder, and at least one encryption arrangement state corresponding to the target folder.
本发明实施例中,用户可以预先为目标文件夹设置对应的加密信息,该加密信息可以包括目标文件夹对应的至少一个目标对象,以及目标文件夹对应的解密排布状态。用户在预先设置加密信息过程中,可以根据用户的需求,设置目标文件夹中包含的对象的数量,目标文件夹中具体包含哪些目标对象等信息。在任意时刻,用户可以对之前设置好的加密信息进行更改,以实现加密信息的更新。In the embodiment of the present invention, the user may pre-set corresponding encrypted information for the target folder, and the encrypted information may include at least one target object corresponding to the target folder, and a decryption arrangement state corresponding to the target folder. In the process of presetting the encrypted information, the user can set the number of objects contained in the target folder, which target objects are specifically contained in the target folder, and other information according to the needs of the user. At any time, the user can change the previously set encrypted information to update the encrypted information.
本发明实施例中,通过用户预先为目标文件夹设置加密信息,用户可以根据自身的习惯以及需求,对加密信息进行灵活设置。In the embodiment of the present invention, by setting the encrypted information for the target folder in advance, the user can flexibly set the encrypted information according to his own habits and needs.
本发明实施例可以适应于移动终端中的任何对象,即本发明实施例可以对移动终端中的任何对象进行加密和解密控制。例如,该对象可以是存储于移动终端中的应用程序APP(例如社交类APP、支付类APP、媒体播放器或浏览器等),也可以是存储于移动终端中的各类文件(例如图片、音频、视频或文档等)。The embodiment of the present invention can be adapted to any object in the mobile terminal, that is, the embodiment of the present invention can perform encryption and decryption control on any object in the mobile terminal. For example, the object may be an application program APP (such as social APP, payment APP, media player or browser, etc.) stored in the mobile terminal, or various files stored in the mobile terminal (such as pictures, audio, video or documents, etc.).
例如,用户可以设置目标文件夹对应的至少一个目标对象为:短信APP、微信APP、电话APP和相册APP,用户可以设置该目标文件夹对应的解密排布状态为该目标文件夹仅包括上述四个APP且排列顺序不限,用户可以设置该目标文件夹对应的至少一个加密排布状态包括:将上述四个APP中的任何一个APP移出该目标文件夹以及在该目标文件夹中加入至少一个其他APP。For example, the user can set at least one target object corresponding to the target folder as: SMS APP, WeChat APP, phone APP and photo album APP, and the user can set the decryption arrangement state corresponding to the target folder to include only the above four The order of the APPs is not limited. The user can set at least one encrypted arrangement state corresponding to the target folder, including: moving any one of the above four APPs out of the target folder and adding at least one in the target folder. Other apps.
步骤202、检测对所述目标文件夹的对象移动操作。Step 202, detecting an object move operation on the target folder.
本发明实施例通过设置目标文件夹以及目标文件夹内对象的排布状态的方式,实现对目标文件夹中的目标对象进行加密或解密的目的。In the embodiment of the present invention, the purpose of encrypting or decrypting the target objects in the target folder is achieved by setting the target folder and the arrangement state of the objects in the target folder.
其中,目标文件夹中对象的排布状态可以包括以下至少一项:目标文件夹中对象的名称;目标文件夹中对象的个数;目标文件夹中对象的排列顺序;目标文件夹中对象的排列形状。用户可以根据加密需求,设置复杂程度不一的排布状态。Wherein, the arrangement state of the objects in the target folder may include at least one of the following: the name of the objects in the target folder; the number of objects in the target folder; the arrangement order of the objects in the target folder; Arrange shapes. Users can set arrangement states of varying degrees of complexity according to encryption requirements.
本发明实施例侧重于将处于加密状态的目标对象进行解密的方法,以下分别从步骤202至步骤204进行具体说明。The embodiment of the present invention focuses on the method of decrypting the target object in the encrypted state, which will be described in detail from step 202 to step 204 respectively below.
该步骤中,移动终端可以检测对目标文件夹的对象移动操作,可以理解为,当前目标文件夹中目标对象处于加密状态。如果检测到对目标文件夹的对象移动操作,则表明目标文件夹中对象的排布状态有变化,则继续执行步骤203;如果未检测到对目标文件夹的对象移动操作,则表明目标文件夹中对象的排布状态没有变化,则结束该流程。In this step, the mobile terminal can detect the object moving operation to the target folder, which can be understood as that the target object in the current target folder is in an encrypted state. If an object move operation to the target folder is detected, it indicates that the arrangement state of the objects in the target folder has changed, and then proceed to step 203; if an object move operation to the target folder is not detected, it indicates that the target folder If there is no change in the arrangement state of the objects, the process ends.
可选的,步骤202中的对象移动操作包括以下至少一项:Optionally, the object moving operation in step 202 includes at least one of the following:
将至少一个对象移入所述目标文件夹的操作;an operation of moving at least one object into said target folder;
将至少一个对象移出所述目标文件夹的操作;the act of moving at least one object out of said target folder;
移动所述目标文件夹中至少一个对象在所述目标文件夹中的位置的操作。An operation of moving the position of at least one object in the target folder in the target folder.
本发明实施方式中,对目标文件夹的对象移动操作可以是将至少一个对象移入该目标文件夹中的操作,也可以是将至少一个对象移出该目标文件夹中的操作,还可以是移动该目标文件夹中至少一个对象在该目标文件夹中的位置的操作,还可以是以上任意两种或多种操作的组合。以上对象移动操作可操作性强,操作时既简单又快捷。In the embodiment of the present invention, the object moving operation to the target folder may be the operation of moving at least one object into the target folder, or the operation of moving at least one object out of the target folder, or the operation of moving the The operation of the position of at least one object in the target folder in the target folder may also be a combination of any two or more of the above operations. The above object moving operation is highly operable, and the operation is simple and fast.
例如,步骤201中用户设置好目标文件夹的加密信息后,接收用户输入的加密指令,将该目标文件夹的目标对象设置为加密状态。例如,可以是在包括短信APP、微信APP、电话APP和相册APP的目标文件中增加一个游戏APP,且将电话APP移出该目标文件夹。For example, after the user has set the encryption information of the target folder in step 201, an encryption instruction input by the user is received, and the target object of the target folder is set to an encrypted state. For example, it may be to add a game APP in the target file including SMS APP, WeChat APP, phone APP and photo album APP, and move the phone APP out of the target folder.
在用户输入加密指令后,用户无法对短信APP、微信APP、电话APP和相册APP进行启动和/或操作。After the user enters the encryption command, the user cannot start and/or operate the SMS APP, WeChat APP, phone APP and photo album APP.
用户若需要启动和/或操作处于加密状态的目标对象,则需要将该目标文件夹中的排布状态调整为解密排布状态。也就是说,在步骤202中,用户可以对目标文件夹中的对象进行移动,例如,可以将该目标文件夹中的游戏APP移出该目标文件夹,且将电话APP重新移入该目标文件夹。If the user needs to start and/or operate the target object in the encrypted state, the arrangement state in the target folder needs to be adjusted to the decrypted arrangement state. That is to say, in step 202, the user can move the object in the target folder, for example, the game APP in the target folder can be moved out of the target folder, and the phone APP can be moved back into the target folder.
步骤203、若检测到所述对象移动操作,则将所述对象移动操作后所述目标文件夹中对象的排布状态与预设的解密排布状态进行比对。Step 203: If the object movement operation is detected, compare the arrangement state of the objects in the target folder after the object movement operation with the preset decryption arrangement state.
在步骤202中,如果移动终端检测到对目标文件夹的对象移动操作,则在该步骤中,移动终端可以获取该对象移动操作之后,目标文件夹中对象的排布状态,并将获取的该排布状态与解密排布状态进行比对。In step 202, if the mobile terminal detects an object moving operation on the target folder, then in this step, the mobile terminal may acquire the arrangement state of the objects in the target folder after the object moving operation, and store the acquired The arrangement state is compared with the decrypted arrangement state.
其中,解密排布状态可以是用户预先设置的,设置好之后,该解密排布状态即成为解密目标文件夹中目标对象的密码。在任意时刻,用户可以对之前设置好的解密排布状态进行更改。Wherein, the decryption arrangement state may be preset by the user. After setting, the decryption arrangement state becomes the password of the target object in the decryption target folder. At any time, the user can change the previously set decryption arrangement status.
例如,步骤202中用户对目标文件夹中对象进行移动操作后,移动终端可以将移动操作之后的排布状态与步骤201中设置的解密排布状态进行比对。For example, after the user moves the objects in the target folder in step 202, the mobile terminal may compare the arrangement state after the move operation with the decrypted arrangement state set in step 201.
如果用户将该目标文件夹中的游戏APP移出该目标文件夹,且将电话APP重新移入该目标文件夹,则移动操作之后的排布状态与步骤201中设置的解密排布状态相匹配。否则,则不匹配。If the user moves the game APP in the target folder out of the target folder, and moves the phone APP back into the target folder, the arrangement state after the move operation matches the decryption arrangement state set in step 201 . Otherwise, there is no match.
步骤204、若所述目标文件夹中对象的排布状态与所述解密排布状态相匹配,则将所述目标文件夹中处于加密状态的目标对象设置为解密状态。Step 204: If the arrangement state of the objects in the target folder matches the decryption arrangement state, set the target objects in the encrypted state in the target folder to the decrypted state.
在步骤203中,如果目标文件夹中对象的排布状态与解密排布状态相匹配,则在该步骤中,移动终端可以将目标文件夹中处于加密状态的目标对象设置为解密状态,因而能够实现对目标对象的私密性防护;可以通过目标文件夹对多个目标对象进行统一控制,相比于对单个目标对象分别进行控制,提高了移动终端对目标对象的控制效率;以目标文件夹中对象的排布状态作为加密和解密手段,对于用户而言不仅直观、操作简捷,而且不易为他人察觉,提高了目标对象加密的安全性。In step 203, if the arrangement state of the objects in the target folder matches the decryption arrangement state, then in this step, the mobile terminal can set the target objects in the encrypted state in the target folder to the decrypted state, thus being able to Realize the privacy protection of the target object; multiple target objects can be controlled uniformly through the target folder, which improves the control efficiency of the mobile terminal to the target object compared to the separate control of a single target object; As an encryption and decryption means, the arrangement state of objects is not only intuitive and easy to operate for users, but also difficult for others to detect, which improves the security of target object encryption.
例如,用户将该目标文件夹中的游戏APP移出该目标文件夹,且将电话APP重新移入该目标文件夹,目标文件夹中对象的排布状态与解密排布状态相匹配,目标文件夹中的短信APP、微信APP、电话APP和相册APP这四个APP均由加密状态变更为解密状态,用户可以对其中任何APP进行启动和/或操作。For example, if the user moves the game APP in the target folder out of the target folder, and moves the phone APP back into the target folder, the arrangement state of the objects in the target folder matches the decrypted arrangement state, and the object in the target folder The SMS APP, WeChat APP, phone APP and photo album APP of the four APPs have all changed from encrypted status to decrypted status, and users can start and/or operate any of them.
至此,目标文件夹中的目标对象解密完成,用户可以查看或者使用目标文件夹中的目标对象。So far, the decryption of the target object in the target folder is completed, and the user can view or use the target object in the target folder.
可见,用户可以通过对目标文件夹的对象移动操作,来调整该目标文件夹中对象的排布状态,使移动终端将处于加密状态的目标对象进行解密。容易理解,用户(或移动终端)也可以通过对目标文件夹的对象移动操作,来调整该目标文件夹中对象的排布状态,使移动终端将处于解密状态的目标对象进行加密。It can be seen that the user can adjust the arrangement state of the objects in the target folder by moving the objects in the target folder, so that the mobile terminal can decrypt the target objects in the encrypted state. It is easy to understand that the user (or mobile terminal) can also adjust the arrangement state of the objects in the target folder by moving the objects in the target folder, so that the mobile terminal can encrypt the target objects in the decrypted state.
本发明实施例中,除了步骤201至步骤203之外,其余步骤均可以与图1所示的发明实施例相同,为避免重复,相同部分不作赘述。In this embodiment of the present invention, except for steps 201 to 203, other steps may be the same as the embodiment of the invention shown in FIG. 1 , and to avoid repetition, the same parts are not repeated.
作为一种较佳的加密和解密方法,可以将一个或几个目标对象当成一个集合,当且仅当目标文件夹中包含了所有对应的目标对象的时候,用户才能打开目标文件夹中的目标对象,即解密排布状态为目标文件夹中包含所有对应的目标对象的排布状态。As a better encryption and decryption method, one or several target objects can be regarded as a set, and only when the target folder contains all corresponding target objects, the user can open the target in the target folder The object, that is, the decrypted arrangement state is the arrangement state in which all corresponding target objects are included in the target folder.
用户或移动终端可以将其中某一个目标对象或者某几个目标对象移出目标文件夹,或者往目标文件夹内移入一个或几个普通对象,或者将目标文件夹中目标对象的顺序进行调整,或者往目标文件夹内移入一个或几个区别于该目标文件夹的其它目标文件夹对应的目标对象,等等,以达到加密的目的。The user or the mobile terminal can move one or several target objects out of the target folder, or move one or several common objects into the target folder, or adjust the order of the target objects in the target folder, or Move one or several target objects corresponding to other target folders different from the target folder into the target folder, etc., to achieve the purpose of encryption.
当用户需要解密目标文件夹中的目标对象时,可以通过反操作,例如,将移出的某一个目标对象或某几个目标对象重新移入目标文件夹,或者将移入的普通对象移出目标文件夹,或者将目标文件夹中目标对象的顺序调整至正确顺序,或者将移入的区别于该目标文件夹的其它目标文件夹对应的目标对象移出该目标文件夹,等等。When the user needs to decrypt the target objects in the target folder, the reverse operation can be performed, for example, moving a certain target object or some target objects that have been moved out to the target folder again, or moving the normal objects that have been moved out of the target folder, Either adjust the order of the target objects in the target folder to the correct order, or move the target objects corresponding to other target folders that are different from the target folder out of the target folder, and so on.
可选的,所述目标文件夹显示有加密标识。Optionally, the target folder is displayed with an encryption mark.
本发明实施方式中,移动终端可以将加密标识显示于目标文件夹上,如图2-1所示,目标文件夹的左上角显示有一加密标识211,便于用户区分目标文件夹与普通文件夹。In the embodiment of the present invention, the mobile terminal can display the encryption mark on the target folder. As shown in FIG. 2-1, an encryption mark 211 is displayed in the upper left corner of the target folder, which is convenient for the user to distinguish the target folder from the normal folder.
另外,加密标识可以随文件夹的加密属性变化而变化,当文件夹的加密功能开启时,加密标识可以显示于目标文件夹上;当文件夹的加密功能关闭时,该文件夹的加密标识可以消失。In addition, the encryption logo can change with the encryption attribute of the folder. When the encryption function of the folder is turned on, the encryption logo can be displayed on the target folder; when the encryption function of the folder is turned off, the encryption logo of the folder can be disappear.
需要说明的是,加密标识的具体显示形式并不局限于图2-1所示的形式。It should be noted that the specific display form of the encrypted identifier is not limited to the form shown in Figure 2-1.
本发明实施方式也可以结合图1所示的实施例进行实施,为避免重复,对此不做赘述。The implementation manner of the present invention may also be implemented in combination with the embodiment shown in FIG. 1 , which will not be described in detail to avoid repetition.
可选的,所述目标文件夹内显示有操作按钮,所述操作按钮包括配置按钮、移入按钮或移出按钮或移入移出按钮中的至少一种。Optionally, operation buttons are displayed in the target folder, and the operation buttons include at least one of a configuration button, a move-in button or a move-out button, or a move-in and move-out button.
本发明实施方式中,移动终端可以在目标文件夹内显示操作按钮,如图2-2所示,这样,用户可以通过操作按钮进行相应的操作。其中,操作按钮可以是配置按钮,如图2-2中目标文件夹内的左上方显示有一配置按钮221,该配置按钮221可以用来给目标文件夹配置加密信息。操作按钮还可以是移入按钮222,移入按钮222可以帮助用户将对象移入目标文件夹;移入按钮222还可以是移出按钮,可以帮助用户将对象移出目标文件夹;移入按钮222还可以是移入移出按钮,可以帮助用户将对象移入或者移出目标文件夹。用户还可直接将目标文件夹中的任一个对象通过拖动操作移出目标文件夹,也可以将目标文件夹外的任一个对象通过拖动操作移入文件夹。In the embodiment of the present invention, the mobile terminal can display operation buttons in the target folder, as shown in FIG. 2-2 , so that the user can perform corresponding operations through the operation buttons. Wherein, the operation button may be a configuration button, as shown in FIG. 2-2, there is a configuration button 221 displayed on the upper left of the target folder, and the configuration button 221 can be used to configure encrypted information for the target folder. The operation button can also be a move-in button 222, and the move-in button 222 can help the user move the object into the target folder; the move-in button 222 can also be a move-out button, which can help the user move the object out of the target folder; the move-in button 222 can also be a move-in and move-out button , which helps the user move objects into or out of the target folder. The user can also directly move any object in the target folder out of the target folder by dragging, or move any object outside the target folder into the folder by dragging.
需要说明的是,操作按钮的具体显示形式并不局限于图2-2所示的形式。It should be noted that the specific display form of the operation button is not limited to the form shown in FIG. 2-2.
本发明实施方式也可以结合图1所示的实施例进行实施,为避免重复,对此不做赘述。The implementation manner of the present invention may also be implemented in combination with the embodiment shown in FIG. 1 , which will not be described in detail to avoid repetition.
本发明实施例的加密和解密方法,检测对所述目标文件夹的对象移动操作;若检测到所述对象移动操作,则将所述对象移动操作后所述目标文件夹中对象的排布状态与所述解密排布状态进行比对;若所述目标文件夹中对象的排布状态与所述解密排布状态相匹配,则将所述目标文件夹中处于加密状态的目标对象设置为解密状态。这样,本发明实施例通过预先设置用于解密目标对象的解密排布状态,在目标文件夹中对象的排布状态与该解密排布状态相匹配时,对目标对象进行解密,反之则对目标对象进行加密。可见,本发明实施例能够实现对目标对象的私密性防护;可以通过目标文件夹对多个目标对象进行统一控制,相比于对单个目标对象分别进行控制,提高了移动终端对目标对象的控制效率;以目标文件夹中对象的排布状态作为加密和解密手段,对于用户而言不仅直观、操作简捷,而且不易为他人察觉,提高了目标对象加密的安全性。The encryption and decryption method of the embodiment of the present invention detects the object moving operation on the target folder; if the object moving operation is detected, the arrangement state of the objects in the target folder after the object moving operation is Compare with the decryption arrangement state; if the arrangement state of the object in the target folder matches the decryption arrangement state, set the target object in the encrypted state in the target folder as decryption state. In this way, the embodiment of the present invention pre-sets the decryption arrangement state for decrypting the target object, and when the arrangement state of the object in the target folder matches the decryption arrangement state, the target object is decrypted; otherwise, the target object is decrypted. Objects are encrypted. It can be seen that the embodiment of the present invention can realize the privacy protection of the target object; multiple target objects can be controlled uniformly through the target folder, which improves the control of the target object by the mobile terminal compared with controlling a single target object separately. Efficiency: Using the arrangement of objects in the target folder as the means of encryption and decryption is not only intuitive and easy to operate for users, but also difficult for others to detect, which improves the security of target object encryption.
参见图3,图3是本发明实施例提供的加密和解密方法的流程图之三,如图3所示,该方法应用于移动终端,包括以下步骤:Referring to FIG. 3, FIG. 3 is the third flowchart of the encryption and decryption method provided by the embodiment of the present invention. As shown in FIG. 3, the method is applied to a mobile terminal and includes the following steps:
步骤301、检测目标文件夹中对象的排布状态是否有变化。Step 301, detecting whether there is a change in the arrangement state of objects in the target folder.
本发明实施例中,目标文件夹中对象的排布状态可以包括以下至少一项:In this embodiment of the present invention, the arrangement status of objects in the target folder may include at least one of the following:
目标文件夹中对象的名称;the name of the object in the target folder;
目标文件夹中对象的个数;the number of objects in the target folder;
目标文件夹中对象的排列顺序;Sort order of objects in the target folder;
目标文件夹中对象的排列形状。Arrangement shape of objects in the target folder.
用户可以根据加密需求,设置复杂程度不一的排布状态。Users can set arrangement states of varying degrees of complexity according to encryption requirements.
本发明实施例侧重于将处于加密状态的目标对象进行解密,以及将处于解密状态的目标对象进行加密的方法,以下分别从步骤301至步骤306进行具体说明。The embodiment of the present invention focuses on the method of decrypting the target object in the encrypted state and encrypting the target object in the decrypted state, which will be described in detail from step 301 to step 306 respectively below.
该步骤中,移动终端可以检测目标文件夹中对象的排布状态是否有变化。可以理解为,当前目标文件夹中目标对象处于加密状态。如果检测到目标文件夹中对象的排布状态有变化,则继续执行步骤302;如果未检测到目标文件夹中对象的排布状态有变化,则结束该流程。In this step, the mobile terminal can detect whether there is a change in the arrangement state of the objects in the target folder. It can be understood that the target object in the current target folder is in an encrypted state. If it is detected that there is a change in the arrangement state of the objects in the target folder, continue to execute step 302; if it is not detected that there is a change in the arrangement state of the objects in the target folder, then end the process.
步骤302、若检测到所述目标文件夹中对象的排布状态有变化,则将变化后的所述目标文件夹中对象的排布状态与预设的解密排布状态进行比对。Step 302: If it is detected that the arrangement state of the objects in the target folder has changed, compare the changed arrangement state of the objects in the target folder with the preset decryption arrangement state.
在步骤301中,如果移动终端检测到目标文件夹中对象的排布状态有变化,则在该步骤中,移动终端可以获取变化后的目标文件夹中对象的排布状态,并将变化后的目标文件夹中对象的排布状态与解密排布状态进行比对。In step 301, if the mobile terminal detects that there is a change in the arrangement state of the objects in the target folder, then in this step, the mobile terminal can obtain the changed arrangement state of the objects in the target folder, and store the changed The arrangement state of the objects in the target folder is compared with the decrypted arrangement state.
步骤303、若所述目标文件夹中对象的排布状态与所述解密排布状态相匹配,则将所述目标文件夹中处于加密状态的目标对象设置为解密状态。Step 303: If the arrangement state of the objects in the target folder matches the decryption arrangement state, set the target objects in the encrypted state in the target folder to the decrypted state.
在步骤302中,如果目标文件夹中对象的排布状态与解密排布状态相匹配,则在该步骤中,移动终端可以将目标文件夹中处于加密状态的目标对象设置为解密状态。In step 302, if the arrangement state of the objects in the target folder matches the decryption arrangement state, then in this step, the mobile terminal may set the target objects in the encrypted state in the target folder to the decrypted state.
步骤304、检测触发指令。Step 304, detecting a trigger instruction.
在该步骤中,移动终端可以对触发指令进行检测。其中,该触发指令为预先设置的用于触发对目标对象进行加密的指令。In this step, the mobile terminal may detect the trigger instruction. Wherein, the triggering instruction is a preset instruction for triggering the encryption of the target object.
这里,触发指令可以是移动终端熄屏对应的指令,也可以是移动终端锁屏对应的指令,也可以是移动终端关机或重启对应的指令,还可以是移动终端接收到某个用户操作(例如对触发按钮的点击操作、手势图形等等)的指令。Here, the trigger instruction may be an instruction corresponding to turning off the screen of the mobile terminal, an instruction corresponding to locking the screen of the mobile terminal, an instruction corresponding to shutting down or restarting the mobile terminal, or an instruction corresponding to the mobile terminal receiving a certain user operation (such as Instructions for click operations on trigger buttons, gesture graphics, etc.).
步骤305、若检测到所述触发指令,则将所述目标文件夹中处于解密状态的目标对象设置为加密状态。Step 305, if the trigger instruction is detected, set the target object in the decrypted state in the target folder to be encrypted.
在步骤304中,如果移动终端检测到触发指令,则在该步骤中,移动终端可以响应该触发指令,将目标文件夹中处于解密状态的目标对象设置为加密状态。此时,目标文件夹中的目标对象由解密状态变换成加密状态,用户不可以查看或者使用目标文件夹中的目标对象。可以理解为,处于解密状态的目标对象的启动权限和/或操作权限为开启状态。In step 304, if the mobile terminal detects the trigger instruction, then in this step, the mobile terminal may respond to the trigger instruction and set the target object in the decrypted state in the target folder to an encrypted state. At this time, the target object in the target folder changes from a decrypted state to an encrypted state, and the user cannot view or use the target object in the target folder. It can be understood that the launch authority and/or operation authority of the target object in the decrypted state is enabled.
步骤306、将所述目标文件夹中对象的排布状态调整为预设的第一加密排布状态。Step 306. Adjust the arrangement state of the objects in the target folder to a preset first encrypted arrangement state.
由于本发明实施例是通过设置目标文件夹以及目标文件夹内对象的排布状态的方式,实现对目标文件夹中的目标对象进行加密或解密的目的。在步骤305中,目标文件夹中的目标对象由解密状态变换成加密状态,与此对应的,在该步骤中,移动终端需要将目标文件夹中对象的排布状态进行调整,即可以将目标文件夹中对象的排布状态调整为第一加密排布状态。Because the embodiment of the present invention achieves the purpose of encrypting or decrypting the target objects in the target folder by setting the target folder and the arrangement state of the objects in the target folder. In step 305, the target object in the target folder is changed from a decrypted state to an encrypted state. Correspondingly, in this step, the mobile terminal needs to adjust the arrangement state of the objects in the target folder, that is, the target The arrangement state of the objects in the folder is adjusted to the first encrypted arrangement state.
需要说明的是,本发明实施例中步骤305与步骤306执行的先后顺序不作限定,可以在执行步骤305之后再执行步骤306,也可以在执行步骤306之后再执行步骤305,或者同时执行步骤305和步骤306。图3示出的是同时执行的情况。It should be noted that the sequence of execution of step 305 and step 306 in the embodiment of the present invention is not limited, step 306 may be executed after step 305 is executed, step 305 may be executed after step 306 is executed, or step 305 may be executed simultaneously and step 306. Figure 3 shows the simultaneous execution.
其中,第一加密排布状态可以是用户或移动终端预先设置的,每个目标文件夹可以设置至少一个第一加密排布状态。当一个目标文件夹对应的第一加密排布状态为两个或两个以上时,移动终端可以随机选择其中任一第一加密排布状态。为每个目标文件夹设置多个第一加密排布状态,有利于提高加密程度。Wherein, the first encryption arrangement state may be preset by the user or the mobile terminal, and at least one first encryption arrangement state may be set for each target folder. When there are two or more first encryption arrangement states corresponding to a target folder, the mobile terminal may randomly select any one of the first encryption arrangement states. Setting a plurality of first encryption arrangement states for each target folder is beneficial to improve the degree of encryption.
本发明实施例中,除了步骤303至步骤306之外,其余步骤均可以与图1或图2所示的发明实施例相同,为避免重复,相同部分不作赘述。In the embodiment of the present invention, except for step 303 to step 306, other steps may be the same as the embodiment of the invention shown in FIG. 1 or FIG. 2 , and to avoid repetition, the same parts will not be repeated.
可选的,所述检测目标文件夹中对象的排布状态是否有变化的步骤,包括:Optionally, the step of detecting whether there is a change in the arrangement state of the objects in the target folder includes:
检测对所述目标文件夹的对象移动操作;detecting an object move operation to said target folder;
所述若所述目标文件夹中对象的排布状态有变化,则将变化后的所述目标文件夹中对象的排布状态与预设的解密排布状态进行比对的步骤,包括:If the arrangement state of the objects in the target folder changes, the step of comparing the changed arrangement state of the objects in the target folder with the preset decryption arrangement state includes:
若检测到所述对象移动操作,则将所述对象移动操作后所述目标文件夹中对象的排布状态与所述解密排布状态进行比对。If the object moving operation is detected, the arrangement state of the objects in the target folder after the object movement operation is compared with the decrypted arrangement state.
本发明实施方式中,可以通过对象移动操作来调整目标文件夹中对象的排布状态,可参见图2所示的发明实施例中的具体说明,为避免重复,对此不作赘述。In the embodiment of the present invention, the arrangement state of the objects in the target folder can be adjusted through the object moving operation. Refer to the specific description in the embodiment of the invention shown in FIG. 2 .
可选的,所述对象移动操作包括以下至少一项:Optionally, the object moving operation includes at least one of the following:
将至少一个对象移入所述目标文件夹的操作;an operation of moving at least one object into said target folder;
将至少一个对象移出所述目标文件夹的操作;the act of moving at least one object out of said target folder;
移动所述目标文件夹中至少一个对象在所述目标文件夹中的位置的操作。An operation of moving the position of at least one object in the target folder in the target folder.
本发明实施方式中,对目标文件夹的对象移动操作可以是将至少一个对象移入该目标文件夹中的操作,也可以是将至少一个对象移出该目标文件夹中的操作,还可以是移动该目标文件夹中至少一个对象在该目标文件夹中的位置的操作,还可以是以上任意两种或多种操作的组合。In the embodiment of the present invention, the object moving operation to the target folder may be the operation of moving at least one object into the target folder, or the operation of moving at least one object out of the target folder, or the operation of moving the The operation of the position of at least one object in the target folder in the target folder may also be a combination of any two or more of the above operations.
可选的,在所述检测目标文件夹中对象的排布状态是否有变化的步骤之前,所述方法还包括:Optionally, before the step of detecting whether the arrangement state of the objects in the target folder has changed, the method further includes:
接收用户输入的对所述目标文件夹的加密信息;receiving the encryption information of the target folder input by the user;
本发明实施方式中,可以预先为目标文件夹设置对应的加密信息,具体的,移动终端可以接收用户输入对目标文件夹的加密信息。In the implementation manner of the present invention, corresponding encryption information may be set for the target folder in advance. Specifically, the mobile terminal may receive the encryption information input by the user for the target folder.
其中,该加密信息可以包括:目标文件夹对应的至少一个目标对象,目标文件夹对应的解密排布状态,和目标文件夹对应的至少一个第一加密排布状态。Wherein, the encryption information may include: at least one target object corresponding to the target folder, a decryption arrangement state corresponding to the target folder, and at least one first encryption arrangement state corresponding to the target folder.
本发明实施方式通过用户预先为目标文件夹设置加密信息,用户可以根据自身的习惯以及需求,对加密信息进行灵活设置。In the embodiment of the present invention, the user can set the encrypted information for the target folder in advance, and the user can flexibly set the encrypted information according to his own habits and needs.
本发明实施方式还可以结合图1所示的实施例进行实施例,为避免重复,对此不作赘述。The implementation manner of the present invention can also be implemented in combination with the embodiment shown in FIG. 1 , which will not be described in detail in order to avoid repetition.
作为一种较佳的加密和解密方法,可以将一个或几个目标对象当成一个集合,当且仅当目标文件夹中包含了所有对应的目标对象的时候,用户才能打开目标文件夹中的目标对象,即解密排布状态为目标文件夹中包含所有对应的目标对象的排布状态。As a better encryption and decryption method, one or several target objects can be regarded as a set, and only when the target folder contains all corresponding target objects, the user can open the target in the target folder The object, that is, the decrypted arrangement state is the arrangement state in which all corresponding target objects are included in the target folder.
用户或移动终端可以将其中某一个目标对象或者某几个目标对象移出目标文件夹,或者往目标文件夹内移入一个或几个普通对象,或者将目标文件夹中目标对象的顺序进行调整,或者往目标文件夹内移入一个或几个区别于该目标文件夹的其它目标文件夹对应的目标对象,等等,以达到加密的目的。The user or the mobile terminal can move one or several target objects out of the target folder, or move one or several common objects into the target folder, or adjust the order of the target objects in the target folder, or Move one or several target objects corresponding to other target folders different from the target folder into the target folder, etc., to achieve the purpose of encryption.
当用户需要解密目标文件夹中的目标对象时,可以通过反操作,例如,将移出的某一个目标对象或某几个目标对象重新移入目标文件夹,或者将移入的普通对象移出目标文件夹,或者将目标文件夹中目标对象的顺序调整至正确顺序,或者将移入的区别于该目标文件夹的其它目标文件夹对应的目标对象移出该目标文件夹,等等。When the user needs to decrypt the target objects in the target folder, the reverse operation can be performed, for example, moving a certain target object or some target objects that have been moved out to the target folder again, or moving the normal objects that have been moved out of the target folder, Either adjust the order of the target objects in the target folder to the correct order, or move the target objects corresponding to other target folders that are different from the target folder out of the target folder, and so on.
可选的,所述目标文件夹显示有加密标识。Optionally, the target folder is displayed with an encryption mark.
本发明实施方式中,移动终端可以将加密标识显示于目标文件夹上,目标文件夹的左上角显示有一加密标识。本发明实施方式可以便于用户区分目标文件夹与普通文件夹。In the implementation manner of the present invention, the mobile terminal can display the encrypted logo on the target folder, and an encrypted logo is displayed on the upper left corner of the target folder. The embodiment of the present invention can facilitate the user to distinguish the target folder from the common folder.
另外,加密标识可以随文件夹的加密属性变化而变化,当文件夹的加密功能开启时,加密标识可以显示于目标文件夹上;当文件夹的加密功能关闭时,该文件夹的加密标识可以消失。In addition, the encryption logo can change with the encryption attribute of the folder. When the encryption function of the folder is turned on, the encryption logo can be displayed on the target folder; when the encryption function of the folder is turned off, the encryption logo of the folder can be disappear.
可选的,所述目标文件夹内显示有操作按钮,所述操作按钮包括配置按钮、移入按钮或移出按钮或移入移出按钮中的至少一种。Optionally, operation buttons are displayed in the target folder, and the operation buttons include at least one of a configuration button, a move-in button or a move-out button, or a move-in and move-out button.
本发明实施方式中,移动终端可以在目标文件夹内显示操作按钮,这样,用户可以通过操作按钮进行相应的操作。其中,操作按钮可以是配置按钮,该配置按钮可以用来给目标文件夹配置加密信息。操作按钮还可以是移入按钮,移入按钮可以帮助用户将对象移入目标文件夹;操作按钮还可以是移出按钮,移出按钮可以帮助用户将对象移出目标文件夹;操作按钮还可以是移入移出按钮,该移入移出按钮可以帮助用户将对象移入或者移出目标文件夹。In the embodiment of the present invention, the mobile terminal can display operation buttons in the target folder, so that the user can perform corresponding operations through the operation buttons. Wherein, the operation button may be a configuration button, and the configuration button may be used to configure encrypted information for the target folder. The action button can also be a move-in button, which can help the user move the object into the target folder; the action button can also be a move-out button, which can help the user move the object out of the target folder; The Move in and out buttons help the user move objects into or out of the target folder.
本发明实施例中,通过设置触发指令,使得移动终端可以在检测到触发指令时,自动将目标文件夹中目标对象由解密状态变更为加密状态,而无需用户手动变更。一方面,提高了移动终端的智能化程度,减少了用户的操作;另一方面,可以减少因用户疏忽而未能及时对目标对象进行防护的风险。In the embodiment of the present invention, by setting the trigger instruction, the mobile terminal can automatically change the target object in the target folder from the decrypted state to the encrypted state when the trigger instruction is detected, without the need for the user to manually change. On the one hand, it improves the intelligence of the mobile terminal and reduces user operations; on the other hand, it can reduce the risk of failing to protect the target object in time due to user negligence.
本发明实施例的加密和解密方法,检测目标文件夹中对象的排布状态是否有变化;若检测到所述目标文件夹中对象的排布状态有变化,则将变化后的所述目标文件夹中对象的排布状态与预设的解密排布状态进行比对;若所述目标文件夹中对象的排布状态与所述解密排布状态相匹配,则将所述目标文件夹中处于加密状态的目标对象设置为解密状态;检测触发指令;若检测到所述触发指令,则将所述目标文件夹中的目标对象设置为加密状态;将所述目标文件夹中对象的排布状态调整为预设的第一加密排布状态。这样,本发明实施例通过预先设置用于解密目标对象的解密排布状态,在目标文件夹中对象的排布状态与该解密排布状态相匹配时,对目标对象进行解密,反之则对目标对象进行加密。可见,本发明实施例能够实现对目标对象的私密性防护;可以通过目标文件夹对多个目标对象进行统一控制,相比于对单个目标对象分别进行控制,提高了移动终端对目标对象的控制效率;以目标文件夹中对象的排布状态作为加密和解密手段,对于用户而言不仅直观、操作简捷,而且不易为他人察觉,提高了目标对象加密的安全性。The encryption and decryption method of the embodiment of the present invention detects whether there is a change in the arrangement state of the objects in the target folder; if it is detected that the arrangement state of the objects in the target folder changes, the changed target file Compare the arrangement state of the objects in the folder with the preset decryption arrangement state; if the arrangement state of the objects in the target folder matches the decryption arrangement state, then the The target object in the encrypted state is set to the decrypted state; the trigger instruction is detected; if the trigger instruction is detected, the target object in the target folder is set to the encrypted state; the arrangement state of the object in the target folder Adjust to the default first encrypted arrangement state. In this way, the embodiment of the present invention pre-sets the decryption arrangement state for decrypting the target object, and when the arrangement state of the object in the target folder matches the decryption arrangement state, the target object is decrypted; otherwise, the target object is decrypted. Objects are encrypted. It can be seen that the embodiment of the present invention can realize the privacy protection of the target object; multiple target objects can be controlled uniformly through the target folder, which improves the control of the target object by the mobile terminal compared with controlling a single target object separately. Efficiency: Using the arrangement of objects in the target folder as the means of encryption and decryption is not only intuitive and easy to operate for users, but also difficult for others to detect, which improves the security of target object encryption.
参见图4,图4是本发明实施例提供的加密和解密方法的流程图之四,如图4所示,该方法应用于移动终端,包括以下步骤:Referring to FIG. 4, FIG. 4 is the fourth flowchart of the encryption and decryption method provided by the embodiment of the present invention. As shown in FIG. 4, the method is applied to a mobile terminal and includes the following steps:
步骤401、检测目标文件夹中对象的排布状态是否有变化。Step 401 , detecting whether the arrangement state of objects in the target folder has changed.
本发明实施例中,目标文件夹中对象的排布状态可以包括以下至少一项:In this embodiment of the present invention, the arrangement status of objects in the target folder may include at least one of the following:
目标文件夹中对象的名称;the name of the object in the target folder;
目标文件夹中对象的个数;the number of objects in the target folder;
目标文件夹中对象的排列顺序;Sort order of objects in the target folder;
目标文件夹中对象的排列形状。Arrangement shape of objects in the target folder.
用户可以根据加密需求,设置复杂程度不一的排布状态。Users can set arrangement states of varying degrees of complexity according to encryption requirements.
本发明实施例侧重于将处于加密状态的目标对象进行解密,以及将处于解密状态的目标对象进行加密的方法,以下分别从步骤401至步骤404进行具体说明。The embodiment of the present invention focuses on the method of decrypting the target object in the encrypted state and encrypting the target object in the decrypted state, which will be described in detail from step 401 to step 404 respectively below.
该步骤中,移动终端可以检测目标文件夹中对象的排布状态是否有变化。可以理解为,当前目标文件夹中目标对象处于加密状态。如果检测到目标文件夹中对象的排布状态有变化,则继续执行步骤402;如果未检测到目标文件夹中对象的排布状态有变化,则结束该流程。In this step, the mobile terminal can detect whether there is a change in the arrangement state of the objects in the target folder. It can be understood that the target object in the current target folder is in an encrypted state. If it is detected that there is a change in the arrangement state of the objects in the target folder, continue to execute step 402; if it is not detected that there is a change in the arrangement state of the objects in the target folder, then end the process.
步骤402、若检测到所述目标文件夹中对象的排布状态有变化,则将变化后的所述目标文件夹中对象的排布状态与预设的解密排布状态进行比对。Step 402: If it is detected that the arrangement state of the objects in the target folder has changed, compare the changed arrangement state of the objects in the target folder with the preset decrypted arrangement state.
在步骤401中,如果移动终端检测到目标文件夹中对象的排布状态有变化,则在该步骤中,移动终端可以获取变化后的目标文件夹中对象的排布状态,并将变化后的目标文件夹中对象的排布状态与解密排布状态进行比对。In step 401, if the mobile terminal detects that there is a change in the arrangement state of the objects in the target folder, then in this step, the mobile terminal can obtain the changed arrangement state of the objects in the target folder, and store the changed The arrangement state of the objects in the target folder is compared with the decrypted arrangement state.
步骤403、若所述目标文件夹中对象的排布状态与所述解密排布状态相匹配,则将所述目标文件夹中处于加密状态的目标对象设置为解密状态。Step 403: If the arrangement state of the objects in the target folder matches the decryption arrangement state, set the target objects in the encrypted state in the target folder to the decrypted state.
在步骤402中,如果目标文件夹中对象的排布状态与解密排布状态相匹配,则在该步骤中,移动终端可以将目标文件夹中处于加密状态的目标对象设置为解密状态。In step 402, if the arrangement state of the objects in the target folder matches the decryption arrangement state, then in this step, the mobile terminal may set the target objects in the encrypted state in the target folder to the decrypted state.
步骤404、若检测到所述目标文件夹中对象的排布状态由所述解密排布状态变化为预设的第二加密排布状态,则将所述目标文件夹中处于解密状态的目标对象设置为加密状态。Step 404: If it is detected that the arrangement state of the objects in the target folder has changed from the decrypted arrangement state to the preset second encrypted arrangement state, then store the target objects in the decrypted state in the target folder Set to encrypted state.
本发明实施例中,用户在需要对目标文件夹中的目标对象进行加密的场景下,可以通过调整目标文件夹中对象的排布状态来实现加密的目的。该步骤中,移动终端若检测到目标文件夹中对象的排布状态由解密排布状态变化为第二加密排布状态,则移动终端可以将目标文件夹中处于解密状态的目标对象设置为加密状态。In the embodiment of the present invention, in the scenario where the user needs to encrypt the target objects in the target folder, the purpose of encryption can be achieved by adjusting the arrangement state of the objects in the target folder. In this step, if the mobile terminal detects that the arrangement state of the objects in the target folder has changed from the decrypted arrangement state to the second encrypted arrangement state, then the mobile terminal can set the target objects in the decrypted state in the target folder as encrypted state.
其中,第二加密排布状态可以是用户预先设置的并且与解密排布状态的排布状态不同的任意排布状态。Wherein, the second encryption arrangement state may be any arrangement state preset by the user and different from the arrangement state of the decryption arrangement state.
例如,在用户需要将移动终端借予他人使用时,或其它需要加密的场景下,用户可以将该目标文件夹中对象的排布状态进行调整,使其排布状态与解密排布状态不同。For example, when the user needs to lend the mobile terminal to others, or in other scenarios that require encryption, the user can adjust the arrangement state of the objects in the target folder so that the arrangement state is different from the decrypted arrangement state.
本发明实施例与图3所示的发明实施例的区别在于,本发明实施例为用户手动调整目标文件夹中对象的排布状态,图3所示的发明实施例为移动终端在检测到触发指令自动调整目标文件夹中对象的排布状态。不论采用以上何种方式,均可以实现对目标文件夹中目标对象加密的目的。The difference between the embodiment of the present invention and the embodiment of the invention shown in FIG. 3 is that the embodiment of the present invention is that the user manually adjusts the arrangement state of the objects in the target folder, and the embodiment of the invention shown in FIG. 3 is that the mobile terminal detects a trigger The command automatically adjusts the arrangement of objects in the target folder. No matter which of the above methods is adopted, the purpose of encrypting the target object in the target folder can be achieved.
本发明实施例中,除了步骤404之外,其余步骤均可以与图1或图2所示的发明实施例相同,为避免重复,相同部分不作赘述。In the embodiment of the present invention, except step 404, other steps may be the same as the embodiment of the invention shown in FIG. 1 or FIG. 2, and to avoid repetition, the same parts will not be repeated.
可选的,所述检测目标文件夹中对象的排布状态是否有变化的步骤,包括:Optionally, the step of detecting whether there is a change in the arrangement state of the objects in the target folder includes:
检测对所述目标文件夹的对象移动操作;detecting an object move operation to said target folder;
所述若所述目标文件夹中对象的排布状态有变化,则将变化后的所述目标文件夹中对象的排布状态与预设的解密排布状态进行比对的步骤,包括:If the arrangement state of the objects in the target folder changes, the step of comparing the changed arrangement state of the objects in the target folder with the preset decryption arrangement state includes:
若检测到所述对象移动操作,则将所述对象移动操作后所述目标文件夹中对象的排布状态与所述解密排布状态进行比对。If the object moving operation is detected, the arrangement state of the objects in the target folder after the object movement operation is compared with the decrypted arrangement state.
本发明实施方式中,可以通过对象移动操作来调整目标文件夹中对象的排布状态,可参见图2所示的发明实施例中的具体说明,为避免重复,对此不作赘述。In the embodiment of the present invention, the arrangement state of the objects in the target folder can be adjusted through the object moving operation. Refer to the specific description in the embodiment of the invention shown in FIG. 2 .
可选的,所述对象移动操作包括以下至少一项:Optionally, the object moving operation includes at least one of the following:
将至少一个对象移入所述目标文件夹的操作;an operation of moving at least one object into said target folder;
将至少一个对象移出所述目标文件夹的操作;the act of moving at least one object out of said target folder;
移动所述目标文件夹中至少一个对象在所述目标文件夹中的位置的操作。An operation of moving the position of at least one object in the target folder in the target folder.
本发明实施方式中,对目标文件夹的对象移动操作可以是将至少一个对象移入该目标文件夹中的操作,也可以是将至少一个对象移出该目标文件夹中的操作,还可以是移动该目标文件夹中至少一个对象在该目标文件夹中的位置的操作,还可以是以上任意两种或多种操作的组合。In the embodiment of the present invention, the object moving operation to the target folder may be the operation of moving at least one object into the target folder, or the operation of moving at least one object out of the target folder, or the operation of moving the The operation of the position of at least one object in the target folder in the target folder may also be a combination of any two or more of the above operations.
以上对象移动操作可操作性强,操作时既简单又快捷。The above object moving operation is highly operable, and the operation is simple and fast.
可选的,在所述检测目标文件夹中对象的排布状态是否有变化的步骤之前,所述方法还包括:Optionally, before the step of detecting whether the arrangement state of the objects in the target folder has changed, the method further includes:
接收用户输入的对所述目标文件夹的加密信息;receiving the encryption information of the target folder input by the user;
本发明实施方式中,可以预先为目标文件夹设置对应的加密信息,具体的,移动终端可以接收用户输入对目标文件夹的加密信息。In the implementation manner of the present invention, corresponding encryption information may be set for the target folder in advance. Specifically, the mobile terminal may receive the encryption information input by the user for the target folder.
其中,该加密信息可以包括:目标文件夹对应的至少一个目标对象,目标文件夹对应的解密排布状态,和目标文件夹对应的至少一个第二加密排布状态。Wherein, the encryption information may include: at least one target object corresponding to the target folder, a decryption arrangement state corresponding to the target folder, and at least one second encryption arrangement state corresponding to the target folder.
本发明实施方式通过用户预先为目标文件夹设置加密信息,用户可以根据自身的习惯以及需求,对加密信息进行灵活设置。In the embodiment of the present invention, the user can set the encrypted information for the target folder in advance, and the user can flexibly set the encrypted information according to his own habits and needs.
作为一种较佳的加密和解密方法,可以将一个或几个目标对象当成一个集合,当且仅当目标文件夹中包含了所有对应的目标对象的时候,用户才能打开目标文件夹中的目标对象,即解密排布状态为目标文件夹中包含所有对应的目标对象的排布状态。As a better encryption and decryption method, one or several target objects can be regarded as a set, and only when the target folder contains all corresponding target objects, the user can open the target in the target folder The object, that is, the decrypted arrangement state is the arrangement state in which all corresponding target objects are included in the target folder.
用户或移动终端可以将其中某一个目标对象或者某几个目标对象移出目标文件夹,或者往目标文件夹内移入一个或几个普通对象,或者将目标文件夹中目标对象的顺序进行调整,或者往目标文件夹内移入一个或几个区别于该目标文件夹的其它目标文件夹对应的目标对象,等等,以达到加密的目的。The user or the mobile terminal can move one or several target objects out of the target folder, or move one or several common objects into the target folder, or adjust the order of the target objects in the target folder, or Move one or several target objects corresponding to other target folders different from the target folder into the target folder, etc., to achieve the purpose of encryption.
当用户需要解密目标文件夹中的目标对象时,可以通过反操作,例如,将移出的某一个目标对象或某几个目标对象重新移入目标文件夹,或者将移入的普通对象移出目标文件夹,或者将目标文件夹中目标对象的顺序调整至正确顺序,或者将移入的区别于该目标文件夹的其它目标文件夹对应的目标对象移出该目标文件夹,等等。When the user needs to decrypt the target objects in the target folder, the reverse operation can be performed, for example, moving a certain target object or some target objects that have been moved out to the target folder again, or moving the normal objects that have been moved out of the target folder, Either adjust the order of the target objects in the target folder to the correct order, or move the target objects corresponding to other target folders that are different from the target folder out of the target folder, and so on.
可选的,所述目标文件夹显示有加密标识。Optionally, the target folder is displayed with an encryption mark.
本发明实施方式中,移动终端可以将加密标识显示于目标文件夹上,目标文件夹的左上角显示有一加密标识。本发明实施方式可以便于用户区分目标文件夹与普通文件夹。In the implementation manner of the present invention, the mobile terminal can display the encrypted logo on the target folder, and an encrypted logo is displayed on the upper left corner of the target folder. The embodiment of the present invention can facilitate the user to distinguish the target folder from the common folder.
另外,加密标识可以随文件夹的加密属性变化而变化,当文件夹的加密功能开启时,加密标识可以显示于目标文件夹上;当文件夹的加密功能关闭时,该文件夹的加密标识可以消失。In addition, the encryption logo can change with the encryption attribute of the folder. When the encryption function of the folder is turned on, the encryption logo can be displayed on the target folder; when the encryption function of the folder is turned off, the encryption logo of the folder can be disappear.
可选的,所述目标文件夹内显示有操作按钮,所述操作按钮包括配置按钮、移入按钮或移出按钮或移入移出按钮中的至少一种。Optionally, operation buttons are displayed in the target folder, and the operation buttons include at least one of a configuration button, a move-in button or a move-out button, or a move-in and move-out button.
本发明实施方式中,移动终端可以在目标文件夹内显示操作按钮,这样,用户可以通过操作按钮进行相应的操作。其中,操作按钮可以是配置按钮,该配置按钮可以用来给目标文件夹配置加密信息。操作按钮还可以是移入按钮,移入按钮可以帮助用户将对象移入目标文件夹;操作按钮还可以是移出按钮,移出按钮可以帮助用户将对象移出目标文件夹;操作按钮还可以是移入移出按钮,该移入移出按钮可以帮助用户将对象移入或者移出目标文件夹。In the embodiment of the present invention, the mobile terminal can display operation buttons in the target folder, so that the user can perform corresponding operations through the operation buttons. Wherein, the operation button may be a configuration button, and the configuration button may be used to configure encrypted information for the target folder. The action button can also be a move-in button, which can help the user move the object into the target folder; the action button can also be a move-out button, which can help the user move the object out of the target folder; The Move in and out buttons help the user move objects into or out of the target folder.
本发明实施例的加密和解密方法,检测目标文件夹中对象的排布状态是否有变化;若检测到所述目标文件夹中对象的排布状态有变化,则将变化后的所述目标文件夹中对象的排布状态与预设的解密排布状态进行比对;若所述目标文件夹中对象的排布状态与所述解密排布状态相匹配,则将所述目标文件夹中处于加密状态的目标对象设置为解密状态;若检测到所述目标文件夹中对象的排布状态由所述解密排布状态变化为预设的第二加密排布状态,则将所述目标文件夹中处于解密状态的目标对象设置为加密状态。这样,本发明实施例通过预先设置用于解密目标对象的解密排布状态,在目标文件夹中对象的排布状态与该解密排布状态相匹配时,对目标对象进行解密,反之则对目标对象进行加密。可见,本发明实施例能够实现对目标对象的私密性防护;可以通过目标文件夹对多个目标对象进行统一控制,相比于对单个目标对象分别进行控制,提高了移动终端对目标对象的控制效率;以目标文件夹中对象的排布状态作为加密和解密手段,对于用户而言不仅直观、操作简捷,而且不易为他人察觉,提高了目标对象加密的安全性。The encryption and decryption method of the embodiment of the present invention detects whether there is a change in the arrangement state of the objects in the target folder; if it is detected that the arrangement state of the objects in the target folder changes, the changed target file Compare the arrangement state of the objects in the folder with the preset decryption arrangement state; if the arrangement state of the objects in the target folder matches the decryption arrangement state, then the The target object in the encrypted state is set to the decrypted state; if it is detected that the arrangement state of the object in the target folder has changed from the decrypted arrangement state to the preset second encrypted arrangement state, the target folder will be The target object in the decrypted state is set to the encrypted state. In this way, the embodiment of the present invention pre-sets the decryption arrangement state for decrypting the target object, and when the arrangement state of the object in the target folder matches the decryption arrangement state, the target object is decrypted; otherwise, the target object is decrypted. Objects are encrypted. It can be seen that the embodiment of the present invention can realize the privacy protection of the target object; multiple target objects can be controlled uniformly through the target folder, which improves the control of the target object by the mobile terminal compared with controlling a single target object separately. Efficiency: Using the arrangement of objects in the target folder as the means of encryption and decryption is not only intuitive and easy to operate for users, but also difficult for others to detect, which improves the security of target object encryption.
参见图5,图5是本发明实施例提供的移动终端的结构图之一,如图5所示,移动终端500,包括第一检测模块501、比对模块502及第一设置模块503,其中,第一检测模块501与比对模块502连接,比对模块502与第一设置模块503连接。Referring to FIG. 5, FIG. 5 is one of the structural diagrams of the mobile terminal provided by the embodiment of the present invention. As shown in FIG. 5, the mobile terminal 500 includes a first detection module 501, a comparison module 502 and a first setting module 503, wherein , the first detection module 501 is connected to the comparison module 502 , and the comparison module 502 is connected to the first setting module 503 .
第一检测模块501,用于检测目标文件夹中对象的排布状态是否有变化;The first detection module 501 is used to detect whether the arrangement state of the objects in the target folder has changed;
比对模块502,用于若检测到所述目标文件夹中对象的排布状态有变化,则将变化后的所述目标文件夹中对象的排布状态与预设的解密排布状态进行比对;The comparison module 502 is configured to compare the changed arrangement state of the objects in the target folder with the preset decrypted arrangement state if it is detected that the arrangement state of the objects in the target folder has changed. right;
第一设置模块503,用于若所述目标文件夹中对象的排布状态与所述解密排布状态相匹配,则将所述目标文件夹中处于加密状态的目标对象设置为解密状态;The first setting module 503 is configured to set the target object in the encrypted state in the target folder to the decrypted state if the arrangement state of the objects in the target folder matches the decrypted arrangement state;
其中,处于加密状态的所述目标对象的启动权限和/或操作权限为关闭状态;所述排布状态包括:所述目标文件夹中对象的个数、对象的排列顺序、对象的排列形状中的至少一项。Wherein, the startup authority and/or operation authority of the target object in the encrypted state is closed; the arrangement state includes: the number of objects in the target folder, the arrangement order of objects, and the arrangement shape of objects. at least one of the .
可选的,第一检测模块501具体用于:检测对所述目标文件夹的对象移动操作;Optionally, the first detection module 501 is specifically configured to: detect an object movement operation on the target folder;
比对模块502具体用于:若检测到所述对象移动操作,则将所述对象移动操作后所述目标文件夹中对象的排布状态与所述解密排布状态进行比对。The comparison module 502 is specifically configured to: if the object moving operation is detected, compare the arrangement state of the objects in the target folder after the object movement operation with the decrypted arrangement state.
可选的,所述对象移动操作包括以下至少一项:Optionally, the object moving operation includes at least one of the following:
将至少一个对象移入所述目标文件夹的操作;an operation of moving at least one object into said target folder;
将至少一个对象移出所述目标文件夹的操作;the act of moving at least one object out of said target folder;
移动所述目标文件夹中至少一个对象在所述目标文件夹中的位置的操作。An operation of moving the position of at least one object in the target folder in the target folder.
可选的,如图6所示,移动终端500还包括:Optionally, as shown in FIG. 6, the mobile terminal 500 also includes:
第二检测模块504,用于检测触发指令,所述触发指令为预先设置的用于触发对所述目标对象进行加密的指令;The second detection module 504 is configured to detect a trigger instruction, where the trigger instruction is a preset instruction for triggering encryption of the target object;
第二设置模块505,用于若检测到所述触发指令,则将所述目标文件夹中处于解密状态的目标对象设置为加密状态;The second setting module 505 is configured to set the target object in the decrypted state in the target folder to an encrypted state if the trigger instruction is detected;
调整模块506,用于将所述目标文件夹中对象的排布状态调整为预设的第一加密排布状态;An adjustment module 506, configured to adjust the arrangement state of objects in the target folder to a preset first encrypted arrangement state;
其中,处于解密状态的所述目标对象的启动权限和/或操作权限为开启状态。Wherein, the activation authority and/or operation authority of the target object in the decrypted state is in an open state.
可选的,如图7所示,移动终端500还包括:Optionally, as shown in FIG. 7, the mobile terminal 500 also includes:
第三设置模块507,用于若检测到所述目标文件夹中对象的排布状态由所述解密排布状态变化为预设的第二加密排布状态,则将所述目标文件夹中处于解密状态的目标对象设置为加密状态;The third setting module 507 is configured to, if it is detected that the arrangement state of the objects in the target folder has changed from the decrypted arrangement state to the preset second encrypted arrangement state, set the objects in the target folder to The target object in the decrypted state is set to the encrypted state;
其中,所述第二加密排布状态与所述解密排布状态的排布状态不同。Wherein, the arrangement state of the second encryption arrangement state is different from that of the decryption arrangement state.
可选的,如图8所示,移动终端500还包括:Optionally, as shown in FIG. 8, the mobile terminal 500 also includes:
接收模块508,用于接收用户输入的对所述目标文件夹的加密信息;A receiving module 508, configured to receive the encrypted information of the target folder input by the user;
其中,所述加密信息包括:所述目标文件夹对应的至少一个目标对象,所述目标文件夹对应的解密排布状态,和所述目标文件夹对应的至少一个加密排布状态。Wherein, the encryption information includes: at least one target object corresponding to the target folder, a decryption arrangement state corresponding to the target folder, and at least one encryption arrangement state corresponding to the target folder.
可选的,所述对象包括应用程序或文件。Optionally, the object includes an application program or a file.
移动终端500能够实现图1至图4的方法实施例中移动终端实现的各个过程,为避免重复,这里不再赘述。The mobile terminal 500 can implement various processes implemented by the mobile terminal in the method embodiments shown in FIG. 1 to FIG. 4 , and details are not repeated here to avoid repetition.
本发明实施例的移动终端500,检测目标文件夹中对象的排布状态是否有变化;若检测到所述目标文件夹中对象的排布状态有变化,则将变化后的所述目标文件夹中对象的排布状态与预设的解密排布状态进行比对;若所述目标文件夹中对象的排布状态与所述解密排布状态相匹配,则将所述目标文件夹中处于加密状态的目标对象设置为解密状态。这样,本发明实施例通过预先设置用于解密目标对象的解密排布状态,在目标文件夹中对象的排布状态与该解密排布状态相匹配时,对目标对象进行解密,反之则对目标对象进行加密。可见,本发明实施例能够对目标对象进行私密性防护。The mobile terminal 500 in the embodiment of the present invention detects whether the arrangement state of the objects in the target folder has changed; if it detects that the arrangement state of the objects in the target folder has changed, then the changed target folder Compare the arrangement state of the objects in the target folder with the preset decryption arrangement state; if the arrangement state of the objects in the target folder matches the decryption arrangement state, the encrypted The state of the target object is set to the decrypted state. In this way, the embodiment of the present invention pre-sets the decryption arrangement state for decrypting the target object, and when the arrangement state of the object in the target folder matches the decryption arrangement state, the target object is decrypted; otherwise, the target object is decrypted. Objects are encrypted. It can be seen that the embodiment of the present invention can protect the privacy of the target object.
本发明实施例还提供一种移动终端,包括处理器,存储器,存储在所述存储器上并可在所述处理器上运行的加密和解密处理程序,所述加密和解密处理程序被所述处理器执行时实现上述加密和解密方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present invention also provides a mobile terminal, including a processor, a memory, and an encryption and decryption processing program stored on the memory and operable on the processor, and the encryption and decryption processing program is processed by the processor When the device is executed, the various processes of the above encryption and decryption method embodiments can be achieved, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有加密和解密处理程序,所述加密和解密处理程序被处理器执行时实现上述加密和解密方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(RandomAccess Memory,简称RAM)、磁碟或者光盘等。An embodiment of the present invention also provides a computer-readable storage medium, on which an encryption and decryption processing program is stored, and when the encryption and decryption processing program is executed by a processor, each of the encryption and decryption method embodiments described above is implemented. process, and can achieve the same technical effect, in order to avoid repetition, it will not be repeated here. Wherein, the computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk or an optical disk, and the like.
参见图9,图9是本发明实施提供的移动终端的结构图之五,如图9所示,移动终端900包括:至少一个处理器901、存储器902、至少一个网络接口904和用户接口903。移动终端900中的各个组件通过总线系统905耦合在一起。可理解,总线系统905用于实现这些组件之间的连接通信。总线系统905除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图9中将各种总线都标为总线系统905。Referring to FIG. 9, FIG. 9 is the fifth structural diagram of the mobile terminal provided by the implementation of the present invention. As shown in FIG. Various components in the mobile terminal 900 are coupled together through a bus system 905 . It can be understood that the bus system 905 is used to realize connection and communication between these components. In addition to the data bus, the bus system 905 also includes a power bus, a control bus and a status signal bus. However, the various buses are labeled as bus system 905 in FIG. 9 for clarity of illustration.
其中,用户接口903可以包括显示器、键盘或者点击设备(例如,鼠标,轨迹球(trackball)、触感板或者触摸屏等。Wherein, the user interface 903 may include a display, a keyboard, or a pointing device (for example, a mouse, a trackball (trackball), a touch panel, or a touch screen, and the like.
可以理解,本发明实施例中的存储器902可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data RateSDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(DirectRambus RAM,DRRAM)。本文描述的存储器902旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the memory 902 in this embodiment of the present invention may be a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memories. Wherein, the non-volatile memory may be a read-only memory (Read-Only Memory, ROM), a programmable read-only memory (Programmable ROM, PROM), an erasable programmable read-only memory (Erasable PROM, EPROM), an electronically programmable Erase Programmable Read-Only Memory (Electrically EPROM, EEPROM) or Flash. The volatile memory can be Random Access Memory (RAM), which acts as an external cache. By way of illustration and not limitation, many forms of RAM are available such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data RateSDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory (Synchlink DRAM, SLDRAM) and Direct memory bus random access memory (DirectRambus RAM, DRRAM). The memory 902 described herein is intended to include, but is not limited to, these and any other suitable types of memory.
在一些实施方式中,存储器902存储了如下的元素,可执行模块或者数据结构,或者他们的子集,或者他们的扩展集:操作系统9021和应用程序9022。In some implementations, the memory 902 stores the following elements, executable modules or data structures, or their subsets, or their extended sets: an operating system 9021 and an application program 9022 .
其中,操作系统9021,包含各种系统程序,例如框架层、核心库层、驱动层等,用于实现各种基础业务以及处理基于硬件的任务。应用程序9022,包含各种应用程序,例如媒体播放器(Media Player)、浏览器(Browser)等,用于实现各种应用业务。实现本发明实施例方法的程序可以包含在应用程序9022中。Among them, the operating system 9021 includes various system programs, such as framework layer, core library layer, driver layer, etc., for realizing various basic services and processing hardware-based tasks. The application program 9022 includes various application programs, such as a media player (Media Player), a browser (Browser), etc., and is used to implement various application services. The program for realizing the method of the embodiment of the present invention may be included in the application program 9022 .
在本发明实施例中,移动终端900还包括:存储在存储器902上并可在处理器901上运行的加密和解密处理程序,具体地,可以是应用程序9022中的加密和解密处理程序,加密和解密处理程序被处理器901执行时实现如下步骤:检测目标文件夹中对象的排布状态是否有变化;若检测到所述目标文件夹中对象的排布状态有变化,则将变化后的所述目标文件夹中对象的排布状态与预设的解密排布状态进行比对;若所述目标文件夹中对象的排布状态与所述解密排布状态相匹配,则将所述目标文件夹中处于加密状态的目标对象设置为解密状态;其中,处于加密状态的所述目标对象的启动权限和/或操作权限为关闭状态;所述排布状态包括:所述目标文件夹中对象的个数、对象的排列顺序、对象的排列形状中的至少一项。In the embodiment of the present invention, the mobile terminal 900 further includes: an encryption and decryption processing program stored in the memory 902 and operable on the processor 901, specifically, the encryption and decryption processing program in the application program 9022, the encryption When the decryption processing program is executed by the processor 901, the following steps are implemented: detect whether the arrangement state of the objects in the target folder has changed; if it is detected that the arrangement state of the objects in the target folder has changed, the changed comparing the arrangement state of the objects in the target folder with the preset decryption arrangement state; if the arrangement state of the objects in the target folder matches the decryption arrangement state, the target The target object in the encrypted state in the folder is set to the decrypted state; wherein, the start permission and/or operation permission of the target object in the encrypted state is closed; the arrangement state includes: the object in the target folder At least one of the number of objects, the arrangement order of objects, and the arrangement shape of objects.
上述本发明实施例揭示的方法可以应用于处理器901中,或者由处理器901实现。处理器901可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器901中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器901可以是通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(FieldProgrammable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本发明实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的计算机可读存储介质中。该计算机可读存储介质位于存储器902,处理器901读取存储器902中的信息,结合其硬件完成上述方法的步骤。具体地,该计算机可读存储介质上存储有加密和解密处理程序,加密和解密处理程序被处理器901执行时实现如上述加密和解密方法实施例的各步骤。The methods disclosed in the foregoing embodiments of the present invention may be applied to the processor 901 or implemented by the processor 901 . The processor 901 may be an integrated circuit chip with signal processing capability. In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware in the processor 901 or instructions in the form of software. The aforementioned processor 901 may be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), an off-the-shelf programmable gate array (Field Programmable Gate Array, FPGA) or other available Program logic devices, discrete gate or transistor logic devices, discrete hardware components. Various methods, steps and logic block diagrams disclosed in the embodiments of the present invention may be implemented or executed. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like. The steps of the methods disclosed in the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in a computer-readable storage medium mature in the field such as random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, registers, and the like. The computer-readable storage medium is located in the memory 902, and the processor 901 reads the information in the memory 902, and completes the steps of the above method in combination with its hardware. Specifically, an encryption and decryption processing program is stored on the computer-readable storage medium, and when the encryption and decryption processing program is executed by the processor 901, the steps in the foregoing encryption and decryption method embodiments are implemented.
可以理解的是,本文描述的这些实施例可以用硬件、软件、固件、中间件、微码或其组合来实现。对于硬件实现,处理单元可以实现在一个或多个专用集成电路(ApplicationSpecific Integrated Circuits,ASIC)、数字信号处理器(Digital Signal Processing,DSP)、数字信号处理设备(DSP Device,DSPD)、可编程逻辑设备(Programmable LogicDevice,PLD)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、通用处理器、控制器、微控制器、微处理器、用于执行本申请所述功能的其它电子单元或其组合中。It should be understood that the embodiments described herein may be implemented by hardware, software, firmware, middleware, microcode or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application specific integrated circuits (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing device (DSP Device, DSPD), programmable logic Device (Programmable Logic Device, PLD), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), general-purpose processor, controller, microcontroller, microprocessor, other electronic units for performing the functions described in this application or a combination thereof.
对于软件实现,可通过执行本文所述功能的模块(例如过程、函数等)来实现本文所述的技术。软件代码可存储在存储器中并通过处理器执行。存储器可以在处理器中或在处理器外部实现。For a software implementation, the techniques described herein can be implemented through modules (eg, procedures, functions, and so on) that perform the functions described herein. Software codes can be stored in memory and executed by a processor. Memory can be implemented within the processor or external to the processor.
可选的,加密和解密处理程序被处理器901执行时还可实现如下步骤:检测对所述目标文件夹的对象移动操作;若检测到所述对象移动操作,则将所述对象移动操作后所述目标文件夹中对象的排布状态与所述解密排布状态进行比对。Optionally, when the encryption and decryption processing program is executed by the processor 901, the following steps may also be implemented: detecting an object moving operation on the target folder; The arrangement state of the objects in the target folder is compared with the decrypted arrangement state.
可选的,所述对象移动操作包括以下至少一项:Optionally, the object moving operation includes at least one of the following:
将至少一个对象移入所述目标文件夹的操作;an operation of moving at least one object into said target folder;
将至少一个对象移出所述目标文件夹的操作;the act of moving at least one object out of said target folder;
移动所述目标文件夹中至少一个对象在所述目标文件夹中的位置的操作。An operation of moving the position of at least one object in the target folder in the target folder.
可选的,加密和解密处理程序被处理器901执行时还可实现如下步骤:检测触发指令,所述触发指令为预先设置的用于触发对所述目标对象进行加密的指令;若检测到所述触发指令,则将所述目标文件夹中处于解密状态的目标对象设置为加密状态;将所述目标文件夹中对象的排布状态调整为预设的第一加密排布状态;其中,处于解密状态的所述目标对象的启动权限和/或操作权限为开启状态。Optionally, when the encryption and decryption processing program is executed by the processor 901, the following steps may also be implemented: detecting a trigger instruction, which is a preset instruction for triggering encryption of the target object; The above trigger instruction, then set the target object in the decrypted state in the target folder to the encrypted state; adjust the arrangement state of the objects in the target folder to the preset first encrypted arrangement state; wherein, in The launch authority and/or operation authority of the target object in the decrypted state is in an open state.
可选的,加密和解密处理程序被处理器901执行时还可实现如下步骤:若检测到所述目标文件夹中对象的排布状态由所述解密排布状态变化为预设的第二加密排布状态,则将所述目标文件夹中处于解密状态的目标对象设置为加密状态;其中,所述第二加密排布状态与所述解密排布状态的排布状态不同。Optionally, when the encryption and decryption processing program is executed by the processor 901, the following steps can also be implemented: if it is detected that the arrangement state of the objects in the target folder has changed from the decryption arrangement state to the preset second encrypted arrangement state, the target object in the decrypted state in the target folder is set to an encrypted state; wherein, the arrangement state of the second encrypted arrangement state is different from that of the decrypted arrangement state.
可选的,加密和解密处理程序被处理器901执行时还可实现如下步骤:接收用户输入的对所述目标文件夹的加密信息;Optionally, when the encryption and decryption processing program is executed by the processor 901, the following steps may also be implemented: receiving the encryption information of the target folder input by the user;
其中,所述加密信息包括:所述目标文件夹对应的至少一个目标对象,所述目标文件夹对应的解密排布状态,和所述目标文件夹对应的至少一个加密排布状态。Wherein, the encryption information includes: at least one target object corresponding to the target folder, a decryption arrangement state corresponding to the target folder, and at least one encryption arrangement state corresponding to the target folder.
可选的,所述对象包括应用程序或文件。Optionally, the object includes an application program or a file.
移动终端900能够实现前述实施例中移动终端实现的各个过程,为避免重复,这里不再赘述。The mobile terminal 900 can implement various processes implemented by the mobile terminal in the foregoing embodiments, and to avoid repetition, details are not repeated here.
本发明实施例的移动终端900,检测目标文件夹中对象的排布状态是否有变化;若检测到所述目标文件夹中对象的排布状态有变化,则将变化后的所述目标文件夹中对象的排布状态与预设的解密排布状态进行比对;若所述目标文件夹中对象的排布状态与所述解密排布状态相匹配,则将所述目标文件夹中处于加密状态的目标对象设置为解密状态。这样,本发明实施例通过预先设置用于解密目标对象的解密排布状态,在目标文件夹中对象的排布状态与该解密排布状态相匹配时,对目标对象进行解密,反之则对目标对象进行加密。可见,可见,本发明实施例能够实现对目标对象的私密性防护;可以通过目标文件夹对多个目标对象进行统一控制,相比于对单个目标对象分别进行控制,提高了移动终端对目标对象的控制效率;以目标文件夹中对象的排布状态作为加密和解密手段,对于用户而言不仅直观、操作简捷,而且不易为他人察觉,提高了目标对象加密的安全性。The mobile terminal 900 in the embodiment of the present invention detects whether the arrangement state of the objects in the target folder has changed; if it detects that the arrangement state of the objects in the target folder has changed, then the changed target folder Compare the arrangement state of the objects in the target folder with the preset decryption arrangement state; if the arrangement state of the objects in the target folder matches the decryption arrangement state, the encrypted The state of the target object is set to the decrypted state. In this way, the embodiment of the present invention pre-sets the decryption arrangement state for decrypting the target object, and when the arrangement state of the object in the target folder matches the decryption arrangement state, the target object is decrypted; otherwise, the target object is decrypted. Objects are encrypted. It can be seen that the embodiment of the present invention can realize the privacy protection of the target object; multiple target objects can be controlled uniformly through the target folder, which improves the mobile terminal's control over the target object The control efficiency is high; the arrangement of objects in the target folder is used as the means of encryption and decryption, which is not only intuitive and easy to operate for users, but also difficult for others to detect, which improves the security of target object encryption.
请参阅图10,图10是本发明实施提供的移动终端的结构图之六,如图10所示,移动终端1000包括射频(Radio Frequency,RF)电路1010、存储器1020、输入单元1030、显示单元1040、处理器1050、音频电路1060、通信模块1070、电源1080。Please refer to FIG. 10. FIG. 10 is the sixth structural diagram of the mobile terminal provided by the implementation of the present invention. As shown in FIG. 1040 , a processor 1050 , an audio circuit 1060 , a communication module 1070 , and a power supply 1080 .
其中,输入单元1030可用于接收用户输入的数字或字符信息,以及产生与移动终端1000的用户设置以及功能控制有关的信号输入。具体地,本发明实施例中,该输入单元1030可以包括触控面板1031。触控面板1031,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1031上的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板1031可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给该处理器1050,并能接收处理器1050发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1031。除了触控面板1031,输入单元1030还可以包括其他输入设备1032,其他输入设备1032可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。Wherein, the input unit 1030 can be used for receiving number or character information input by the user, and generating signal input related to the user setting and function control of the mobile terminal 1000 . Specifically, in the embodiment of the present invention, the input unit 1030 may include a touch panel 1031 . The touch panel 1031, also referred to as a touch screen, can collect user's touch operations on or near it (such as the user's operation on the touch panel 1031 using any suitable object or accessory such as a finger, a stylus), and The specified program drives the corresponding connected device. Optionally, the touch panel 1031 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to the to the processor 1050, and can receive and execute commands sent by the processor 1050. In addition, the touch panel 1031 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 1031, the input unit 1030 may also include other input devices 1032, which may include but not limited to physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, etc. one or more of.
其中,显示单元1040可用于显示由用户输入的信息或提供给用户的信息以及移动终端1000的各种菜单界面。显示单元1040可包括显示面板1041,可选的,可以采用LCD或有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板1041。Wherein, the display unit 1040 can be used to display information input by the user or information provided to the user and various menu interfaces of the mobile terminal 1000 . The display unit 1040 may include a display panel 1041, and optionally, the display panel 1041 may be configured in the form of an LCD or an organic light-emitting diode (Organic Light-Emitting Diode, OLED).
应注意,触控面板1031可以覆盖显示面板1041,形成触摸显示屏,当该触摸显示屏检测到在其上或附近的触摸操作后,传送给处理器1050以确定触摸事件的类型,随后处理器1050根据触摸事件的类型在触摸显示屏上提供相应的视觉输出。It should be noted that the touch panel 1031 can cover the display panel 1041 to form a touch display screen. When the touch display screen detects a touch operation on or near it, it is sent to the processor 1050 to determine the type of the touch event, and then the processor 1050 provides corresponding visual output on the touch display screen according to the type of the touch event.
触摸显示屏包括应用程序界面显示区及常用控件显示区。该应用程序界面显示区及该常用控件显示区的排列方式并不限定,可以为上下排列、左右排列等可以区分两个显示区的排列方式。该应用程序界面显示区可以用于显示应用程序的界面。每一个界面可以包含至少一个应用程序的图标和/或widget桌面控件等界面元素。该应用程序界面显示区也可以为不包含任何内容的空界面。该常用控件显示区用于显示使用率较高的控件,例如,设置按钮、界面编号、滚动条、电话本图标等应用程序图标等。The touch display screen includes an application program interface display area and a common control display area. The arrangement of the display area of the application program interface and the display area of the commonly used controls is not limited, and may be an arrangement in which the two display areas can be distinguished, such as a top-down arrangement, a left-right arrangement, and the like. The application program interface display area can be used to display the interface of the application program. Each interface may include at least one interface element such as an icon of an application program and/or a widget desktop control. The application program interface display area can also be an empty interface without any content. The commonly used control display area is used to display controls with a high usage rate, for example, application icons such as setting buttons, interface numbers, scroll bars, and phonebook icons.
其中处理器1050是移动终端1000的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在第一存储器1021内的软件程序和/或模块,以及调用存储在第二存储器1022内的数据,执行移动终端1000的各种功能和处理数据,从而对移动终端1000进行整体监控。可选的,处理器1050可包括一个或多个处理单元。Wherein the processor 1050 is the control center of the mobile terminal 1000, utilizes various interfaces and lines to connect various parts of the whole mobile phone, runs or executes the software programs and/or modules stored in the first memory 1021, and calls the software programs and/or modules stored in the second memory 1021. The data in the memory 1022 executes various functions of the mobile terminal 1000 and processes data, so as to monitor the mobile terminal 1000 as a whole. Optionally, the processor 1050 may include one or more processing units.
在本发明实施例中,移动终端1000还包括:存储在存储器1021上并可在处理器1050上运行的加密和解密处理程序,具体地,可以是应用程序中的加密和解密处理程序,加密和解密处理程序被处理器1050执行时实现如下步骤:检测目标文件夹中对象的排布状态是否有变化;若检测到所述目标文件夹中对象的排布状态有变化,则将变化后的所述目标文件夹中对象的排布状态与预设的解密排布状态进行比对;若所述目标文件夹中对象的排布状态与所述解密排布状态相匹配,则将所述目标文件夹中处于加密状态的目标对象设置为解密状态;其中,处于加密状态的所述目标对象的启动权限和/或操作权限为关闭状态;所述排布状态包括:所述目标文件夹中对象的个数、对象的排列顺序、对象的排列形状中的至少一项。In the embodiment of the present invention, the mobile terminal 1000 further includes: an encryption and decryption processing program stored in the memory 1021 and operable on the processor 1050, specifically, an encryption and decryption processing program in an application program, the encryption and decryption processing program When the decryption processing program is executed by the processor 1050, the following steps are implemented: detect whether there is a change in the arrangement state of the objects in the target folder; The arrangement state of the objects in the target folder is compared with the preset decryption arrangement state; if the arrangement state of the objects in the target folder matches the decryption arrangement state, the target file is The target object in the encrypted state in the folder is set to the decrypted state; wherein, the start permission and/or operation permission of the target object in the encrypted state is closed; the arrangement state includes: the object in the target folder At least one of the number of objects, the arrangement order of objects, and the arrangement shape of objects.
可选的,加密和解密处理程序被处理器1050执行时还可实现如下步骤:检测对所述目标文件夹的对象移动操作;若检测到所述对象移动操作,则将所述对象移动操作后所述目标文件夹中对象的排布状态与所述解密排布状态进行比对。Optionally, when the encryption and decryption processing program is executed by the processor 1050, the following steps may also be implemented: detecting an object moving operation on the target folder; The arrangement state of the objects in the target folder is compared with the decrypted arrangement state.
可选的,所述对象移动操作包括以下至少一项:Optionally, the object moving operation includes at least one of the following:
将至少一个对象移入所述目标文件夹的操作;an operation of moving at least one object into said target folder;
将至少一个对象移出所述目标文件夹的操作;the act of moving at least one object out of said target folder;
移动所述目标文件夹中至少一个对象在所述目标文件夹中的位置的操作。An operation of moving the position of at least one object in the target folder in the target folder.
可选的,加密和解密处理程序被处理器1050执行时还可实现如下步骤:检测触发指令,所述触发指令为预先设置的用于触发对所述目标对象进行加密的指令;若检测到所述触发指令,则将所述目标文件夹中处于解密状态的目标对象设置为加密状态;将所述目标文件夹中对象的排布状态调整为预设的第一加密排布状态;其中,处于解密状态的所述目标对象的启动权限和/或操作权限为开启状态。Optionally, when the encryption and decryption processing program is executed by the processor 1050, the following steps may also be implemented: detecting a trigger instruction, which is a preset instruction for triggering encryption of the target object; The above trigger instruction, then set the target object in the decrypted state in the target folder to the encrypted state; adjust the arrangement state of the objects in the target folder to the preset first encrypted arrangement state; wherein, in The launch authority and/or operation authority of the target object in the decrypted state is in an open state.
可选的,加密和解密处理程序被处理器1050执行时还可实现如下步骤:若检测到所述目标文件夹中对象的排布状态由所述解密排布状态变化为预设的第二加密排布状态,则将所述目标文件夹中处于解密状态的目标对象设置为加密状态;其中,所述第二加密排布状态与所述解密排布状态的排布状态不同。Optionally, when the encryption and decryption processing program is executed by the processor 1050, the following steps can also be implemented: if it is detected that the arrangement state of the objects in the target folder changes from the decryption arrangement state to the preset second encrypted arrangement state, the target object in the decrypted state in the target folder is set to an encrypted state; wherein, the arrangement state of the second encrypted arrangement state is different from that of the decrypted arrangement state.
可选的,加密和解密处理程序被处理器1050执行时还可实现如下步骤:接收用户输入的对所述目标文件夹的加密信息;Optionally, when the encryption and decryption processing program is executed by the processor 1050, the following steps may also be implemented: receiving the encryption information of the target folder input by the user;
其中,所述加密信息包括:所述目标文件夹对应的至少一个目标对象,所述目标文件夹对应的解密排布状态,和所述目标文件夹对应的至少一个加密排布状态。Wherein, the encryption information includes: at least one target object corresponding to the target folder, a decryption arrangement state corresponding to the target folder, and at least one encryption arrangement state corresponding to the target folder.
可选的,所述对象包括应用程序或文件。Optionally, the object includes an application program or a file.
移动终端1000能够实现前述实施例中移动终端实现的各个过程,为避免重复,这里不再赘述。The mobile terminal 1000 can implement various processes implemented by the mobile terminal in the foregoing embodiments, and to avoid repetition, details are not repeated here.
本发明实施例的移动终端1000,检测目标文件夹中对象的排布状态是否有变化;若检测到所述目标文件夹中对象的排布状态有变化,则将变化后的所述目标文件夹中对象的排布状态与预设的解密排布状态进行比对;若所述目标文件夹中对象的排布状态与所述解密排布状态相匹配,则将所述目标文件夹中处于加密状态的目标对象设置为解密状态。这样,本发明实施例通过预先设置用于解密目标对象的解密排布状态,在目标文件夹中对象的排布状态与该解密排布状态相匹配时,对目标对象进行解密,反之则对目标对象进行加密。可见,可见,本发明实施例能够实现对目标对象的私密性防护;可以通过目标文件夹对多个目标对象进行统一控制,相比于对单个目标对象分别进行控制,提高了移动终端对目标对象的控制效率;以目标文件夹中对象的排布状态作为加密和解密手段,对于用户而言不仅直观、操作简捷,而且不易为他人察觉,提高了目标对象加密的安全性。The mobile terminal 1000 of the embodiment of the present invention detects whether there is a change in the arrangement state of the objects in the target folder; if it is detected that the arrangement state of the objects in the target folder changes, the changed target folder Compare the arrangement state of the objects in the target folder with the preset decryption arrangement state; if the arrangement state of the objects in the target folder matches the decryption arrangement state, the encrypted The state of the target object is set to the decrypted state. In this way, the embodiment of the present invention pre-sets the decryption arrangement state for decrypting the target object, and when the arrangement state of the object in the target folder matches the decryption arrangement state, the target object is decrypted; otherwise, the target object is decrypted. Objects are encrypted. It can be seen that the embodiment of the present invention can realize the privacy protection of the target object; multiple target objects can be controlled uniformly through the target folder, which improves the mobile terminal's control over the target object The control efficiency is high; the arrangement of objects in the target folder is used as the means of encryption and decryption, which is not only intuitive and easy to operate for users, but also difficult for others to detect, which improves the security of target object encryption.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those skilled in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、移动终端和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, mobile terminal and unit can refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.
在本申请所提供的实施例中,应该理解到,所揭露的移动终端和方法,可以通过其它的方式实现。例如,以上所描述的移动终端实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,移动终端或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed mobile terminal and method can be implemented in other ways. For example, the mobile terminal embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined Or it can be integrated into another system, or some features can be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of mobile terminals or units may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本发明实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。If the functions described above are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: various media capable of storing program codes such as U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk.
所述计算机可读存储介质上存储有加密和解密处理程序,所述加密和解密处理程序被处理器执行时实现:检测目标文件夹中对象的排布状态是否有变化;若检测到所述目标文件夹中对象的排布状态有变化,则将变化后的所述目标文件夹中对象的排布状态与预设的解密排布状态进行比对;若所述目标文件夹中对象的排布状态与所述解密排布状态相匹配,则将所述目标文件夹中处于加密状态的目标对象设置为解密状态;其中,处于加密状态的所述目标对象的启动权限和/或操作权限为关闭状态;所述排布状态包括:所述目标文件夹中对象的个数、对象的排列顺序、对象的排列形状中的至少一项。An encryption and decryption processing program is stored on the computer-readable storage medium, and when the encryption and decryption processing program is executed by the processor, it is realized: detecting whether the arrangement state of objects in the target folder has changed; If there is a change in the arrangement state of the objects in the folder, compare the changed arrangement state of the objects in the target folder with the preset decrypted arrangement state; if the arrangement state of the objects in the target folder state matches the decryption arrangement state, then set the target object in the encrypted state in the target folder to the decrypted state; wherein, the start permission and/or operation permission of the target object in the encrypted state is off State; the arrangement state includes: at least one of the number of objects in the target folder, the arrangement order of the objects, and the arrangement shape of the objects.
可选的,所述加密和解密处理程序被处理器执行时实现:检测对所述目标文件夹的对象移动操作;若检测到所述对象移动操作,则将所述对象移动操作后所述目标文件夹中对象的排布状态与所述解密排布状态进行比对。Optionally, when the encryption and decryption processing program is executed by the processor, it can: detect an object movement operation on the target folder; if the object movement operation is detected, then move the object after the object movement operation The arrangement state of the objects in the folder is compared with the decrypted arrangement state.
可选的,所述对象移动操作包括以下至少一项:Optionally, the object moving operation includes at least one of the following:
将至少一个对象移入所述目标文件夹的操作;an operation of moving at least one object into said target folder;
将至少一个对象移出所述目标文件夹的操作;the act of moving at least one object out of said target folder;
移动所述目标文件夹中至少一个对象在所述目标文件夹中的位置的操作。An operation of moving the position of at least one object in the target folder in the target folder.
可选的,所述加密和解密处理程序被处理器执行时实现:检测触发指令,所述触发指令为预先设置的用于触发对所述目标对象进行加密的指令;若检测到所述触发指令,则将所述目标文件夹中处于解密状态的目标对象设置为加密状态;将所述目标文件夹中对象的排布状态调整为预设的第一加密排布状态;其中,处于解密状态的所述目标对象的启动权限和/或操作权限为开启状态。Optionally, when the encryption and decryption processing program is executed by the processor, it is implemented to: detect a trigger instruction, the trigger instruction is a preset instruction for triggering the encryption of the target object; if the trigger instruction is detected , then set the target object in the decrypted state in the target folder to the encrypted state; adjust the arrangement state of the objects in the target folder to the preset first encrypted arrangement state; wherein, the decrypted state The start permission and/or operation permission of the target object is in an open state.
可选的,所述加密和解密处理程序被处理器执行时实现:若检测到所述目标文件夹中对象的排布状态由所述解密排布状态变化为预设的第二加密排布状态,则将所述目标文件夹中处于解密状态的目标对象设置为加密状态;其中,所述第二加密排布状态与所述解密排布状态的排布状态不同。Optionally, when the encryption and decryption processing program is executed by the processor, it is realized that if it is detected that the arrangement state of the objects in the target folder changes from the decryption arrangement state to the preset second encryption arrangement state , then set the target object in the decrypted state in the target folder to the encrypted state; wherein, the arrangement state of the second encryption arrangement state is different from that of the decryption arrangement state.
可选的,所述加密和解密处理程序被处理器执行时实现:接收用户输入的对所述目标文件夹的加密信息;其中,所述加密信息包括:所述目标文件夹对应的至少一个目标对象,所述目标文件夹对应的解密排布状态,和所述目标文件夹对应的至少一个加密排布状态。Optionally, when the encryption and decryption processing program is executed by the processor, it realizes: receiving the encryption information of the target folder input by the user; wherein the encryption information includes: at least one target corresponding to the target folder Object, the decryption arrangement state corresponding to the target folder, and at least one encryption arrangement state corresponding to the target folder.
可选的,所述对象包括应用程序或文件。Optionally, the object includes an application program or a file.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. Should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims (16)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710377339.7A CN107220552B (en) | 2017-05-25 | 2017-05-25 | A kind of encryption and decryption approaches and mobile terminal |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710377339.7A CN107220552B (en) | 2017-05-25 | 2017-05-25 | A kind of encryption and decryption approaches and mobile terminal |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN107220552A CN107220552A (en) | 2017-09-29 |
| CN107220552B true CN107220552B (en) | 2019-11-05 |
Family
ID=59945390
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710377339.7A Active CN107220552B (en) | 2017-05-25 | 2017-05-25 | A kind of encryption and decryption approaches and mobile terminal |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN107220552B (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114764502A (en) * | 2021-01-11 | 2022-07-19 | 武汉斗鱼网络科技有限公司 | File decryption method and related device |
Family Cites Families (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20090282248A1 (en) * | 2008-05-09 | 2009-11-12 | International Business Machines Corporation. | Method and system for securing electronic mail |
| CN102737199B (en) * | 2011-04-15 | 2017-01-25 | 富泰华工业(深圳)有限公司 | Electronic device with use authority management function and method |
| CN103488918B (en) * | 2013-09-18 | 2016-09-14 | 广东欧珀移动通信有限公司 | Intelligent terminal applies encryption method and device |
| KR102356549B1 (en) * | 2014-03-12 | 2022-01-28 | 삼성전자주식회사 | System and method for encrypting folder in device |
| CN105868617B (en) * | 2016-03-25 | 2020-02-04 | 维沃移动通信有限公司 | Application program encryption method and mobile terminal |
| CN105893854B (en) * | 2016-03-30 | 2019-04-12 | 北京小米移动软件有限公司 | Encryption and decryption method and device |
| CN106250754B (en) * | 2016-07-27 | 2018-11-30 | 维沃移动通信有限公司 | A kind of control method and mobile terminal of application program |
| CN106599702B (en) * | 2016-12-08 | 2020-02-07 | 武汉斗鱼网络科技有限公司 | File encryption and decryption method and device |
| CN106599723B (en) * | 2016-12-19 | 2020-03-17 | 武汉斗鱼网络科技有限公司 | File encryption method and device and file decryption method and device |
-
2017
- 2017-05-25 CN CN201710377339.7A patent/CN107220552B/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| CN107220552A (en) | 2017-09-29 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN106126077B (en) | Display control method of application program icons and mobile terminal | |
| WO2018157662A1 (en) | Display control method for mobile terminal, and mobile terminal | |
| CN106203061B (en) | Encryption method of application program and mobile terminal | |
| CN107643912B (en) | Information sharing method and mobile terminal | |
| US20160350551A1 (en) | Method and apparatus for storing file by using a plurality of cloud storages | |
| CN106681711A (en) | Method for content sharing under split screen mode and mobile terminal | |
| CN107229396B (en) | Method for hiding application icon of mobile terminal and mobile terminal | |
| CN106250754A (en) | The control method of a kind of application program and mobile terminal | |
| CN106503507A (en) | Method and mobile terminal that a kind of password shows | |
| CN105827816A (en) | Screen splitting method for terminal screen, and mobile terminal | |
| CN106250026A (en) | The startup method of the application program of a kind of mobile terminal and mobile terminal | |
| CN106250757A (en) | The control method of a kind of application program and mobile terminal | |
| CN107644170A (en) | A kind of image processing method and mobile terminal | |
| CN107632870A (en) | The startup method and terminal of a kind of application | |
| CN106355109A (en) | File encryption method and mobile terminal | |
| CN106407027A (en) | An information display method for a mobile terminal and a mobile terminal | |
| CN106778344A (en) | A kind of data permission control method and terminal | |
| CN106384060B (en) | A mobile terminal data encryption method and mobile terminal | |
| CN107103224A (en) | A kind of unlocking method and mobile terminal | |
| CN104571847B (en) | operation method of electronic device | |
| CN107506198A (en) | The display methods and mobile terminal of a kind of mobile terminal | |
| CN106803031A (en) | A kind of information protecting method and mobile terminal | |
| CN106971123A (en) | A kind of terminal interface display methods and mobile terminal | |
| CN107220552B (en) | A kind of encryption and decryption approaches and mobile terminal | |
| CN106383713A (en) | Application control 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 | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |