CN101998385B - Data protection method and device for mobile terminal - Google Patents
Data protection method and device for mobile terminal Download PDFInfo
- Publication number
- CN101998385B CN101998385B CN 201010538111 CN201010538111A CN101998385B CN 101998385 B CN101998385 B CN 101998385B CN 201010538111 CN201010538111 CN 201010538111 CN 201010538111 A CN201010538111 A CN 201010538111A CN 101998385 B CN101998385 B CN 101998385B
- Authority
- CN
- China
- Prior art keywords
- data
- mobile terminal
- built
- information
- portable terminal
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Storage Device Security (AREA)
- Telephone Function (AREA)
Abstract
Description
技术领域 technical field
本发明涉及信息安全,尤其涉及一种移动终端的数据保护方法和装置。The present invention relates to information security, in particular to a data protection method and device for a mobile terminal.
背景技术 Background technique
对于智能手机、移动互联网设备(Mobile Internet Devices,MID)、GPS手持终端等移动终端,普遍使用外部存储设备来扩充自身的存储区域。用户既可以将数据存储在移动终端的内置存储区中,还可以存储在外部存储设备中。For mobile terminals such as smartphones, Mobile Internet Devices (MID), and GPS handheld terminals, external storage devices are generally used to expand their own storage areas. The user can store the data not only in the built-in storage area of the mobile terminal, but also in an external storage device.
用户在享受外部存储设备带来的存储便利的同时,还要面对外部存储设备中的数据安全性的威胁。因为外部存储设备在未经用户允许的条件下,易被他人从移动终端中拔出,使保存在外部存储设备中的数据面临被泄露或者被窃取的危险。While enjoying the storage convenience brought by external storage devices, users also face the threat of data security in external storage devices. Because the external storage device is easy to be pulled out from the mobile terminal by others without the permission of the user, the data stored in the external storage device faces the danger of being leaked or stolen.
发明内容 Contents of the invention
本发明实施例提供一种移动终端的数据保护方法和装置,能够实现保护移动终端的外部存储设备中的数据。Embodiments of the present invention provide a data protection method and device for a mobile terminal, capable of protecting data in an external storage device of the mobile terminal.
本发明解决上述问题的一个实施例是:一种移动终端的数据保护方法,包括:如果需要保护移动终端的外部存储设备中的数据,获取数据保密指示信息;根据所述数据保密指示信息,将所述外部存储设备中的数据转移到所述移动终端的内置存储区中;保护转移到所述内置存储区中的所述需要保护的数据。An embodiment of the present invention to solve the above problem is: a data protection method for a mobile terminal, including: if the data in the external storage device of the mobile terminal needs to be protected, obtaining data confidentiality indication information; according to the data confidentiality indication information, the The data in the external storage device is transferred to the built-in storage area of the mobile terminal; and the data to be protected transferred to the built-in storage area is protected.
本发明解决上述问题的另一个实施例是:一种移动终端的数据保护装置,包括:Another embodiment of the present invention that solves the above problems is: a data protection device for a mobile terminal, comprising:
第一信息获取模块,用于如果需要保护移动终端的外部存储设备中的数据,获取数据保密指示信息;The first information acquisition module is used to acquire data confidentiality indication information if the data in the external storage device of the mobile terminal needs to be protected;
第一转移模块,用于根据所述第一信息获取模块获取的数据保密指示信息,将所述外部存储设备中的数据转移到所述移动终端的内置存储区中;A first transfer module, configured to transfer the data in the external storage device to the built-in storage area of the mobile terminal according to the data security indication information acquired by the first information acquisition module;
数据保护模块,用于保护所述第一转移模块转移到所述内置存储区中的所述需要保护的数据。A data protection module, configured to protect the data to be protected transferred to the built-in storage area by the first transfer module.
本发明实施例提供的移动终端的数据保护方法和装置,通过将外部存储设备中的需要保护的数据转移到移动终端的内置存储区中,并对转移到移动终端的内置存储区中的数据进行保护,能够实现移动终端的外部存储设备中的数据的保护,提高了移动终端的外部存储设备中数据的安全性和私密性。本发明实施例解决了现有技术中,由于移动终端的外部存储设备易被他人从移动终端中拔出,造成数据被泄露或者被窃取的问题。The data protection method and device of the mobile terminal provided by the embodiments of the present invention transfer the data to be protected in the external storage device to the built-in storage area of the mobile terminal, and perform data transfer to the built-in storage area of the mobile terminal. The protection can realize the protection of the data in the external storage device of the mobile terminal, and improves the security and privacy of the data in the external storage device of the mobile terminal. The embodiments of the present invention solve the problem in the prior art that data is leaked or stolen because the external storage device of the mobile terminal is easily pulled out from the mobile terminal by others.
附图说明 Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without creative work.
图1为本发明实施例提供的移动终端的数据保护方法流程图;FIG. 1 is a flowchart of a data protection method for a mobile terminal provided by an embodiment of the present invention;
图2为本发明另一实施例提供的移动终端的数据保护方法流程图一;FIG. 2 is a flow chart 1 of a data protection method for a mobile terminal provided by another embodiment of the present invention;
图3为本发明另一实施例提供的移动终端的数据保护方法流程图二;FIG. 3 is a second flowchart of a data protection method for a mobile terminal provided by another embodiment of the present invention;
图4为本发明另一实施例提供的移动终端的数据保护方法流程图三;FIG. 4 is a third flowchart of a data protection method for a mobile terminal provided by another embodiment of the present invention;
图5为本发明又一实施例提供的移动终端的数据保护装置结构示意图一;FIG. 5 is a first structural schematic diagram of a data protection device for a mobile terminal provided by another embodiment of the present invention;
图6为图5所示的本发明又一实施例提供的第一转移模块结构示意图;Fig. 6 is a schematic structural diagram of a first transfer module provided by another embodiment of the present invention shown in Fig. 5;
图7为图5所示的本发明又一实施例提供的数据保护模块结构示意图;FIG. 7 is a schematic structural diagram of a data protection module provided by another embodiment of the present invention shown in FIG. 5;
图8为本发明又一实施例提供的移动终端的数据保护装置结构示意图二;FIG. 8 is a second structural schematic diagram of a data protection device for a mobile terminal provided by another embodiment of the present invention;
图9为本发明又一实施例提供的移动终端的数据保护装置的结构示意图三。FIG. 9 is a third structural schematic diagram of a data protection device for a mobile terminal provided by another 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 only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
为解决现有技术移动终端的外部存储设备中的数据易被泄露或者被窃取的问题,本发明实施例提供一种移动终端的数据保护方法和装置。In order to solve the problem in the prior art that data in an external storage device of a mobile terminal is easily leaked or stolen, embodiments of the present invention provide a data protection method and device for a mobile terminal.
如图1所示,本发明实施例提供的移动终端的数据保护方法,包括:As shown in Figure 1, the data protection method of the mobile terminal provided by the embodiment of the present invention includes:
步骤101,如果需要保护移动终端的外部存储设备中的数据,获取数据保密指示信息。Step 101, if it is necessary to protect the data in the external storage device of the mobile terminal, acquire data security indication information.
在本实施例中,步骤101所述的外部存储设备可以包括扩展卡如SD卡(Secure Digital)、CF卡(Compact Flash)、MMC卡(MultiMediaCard)和记忆棒(Memory Stick)等,在此不一一赘述。In this embodiment, the external storage device described in step 101 may include expansion cards such as SD card (Secure Digital), CF card (Compact Flash), MMC card (MultiMediaCard) and memory stick (Memory Stick), etc. Let me repeat them one by one.
步骤102,根据数据保密指示信息,将外部存储设备中需要保护的数据转移到移动终端的内置存储区中。Step 102, according to the data security instruction information, transfer the data to be protected in the external storage device to the built-in storage area of the mobile terminal.
步骤103,保护转移到内置存储区中的需要保护的数据。Step 103, protecting the data to be protected transferred to the built-in storage area.
在本实施例中,步骤103对转移到内置存储区中的需要保护的数据进行保护的过程,可以包括:设置内部存储路径信息描述的存储分区的密码,其中,存储分区在移动终端的内置存储区中;或者隐藏内部存储路径信息描述的存储分区。In this embodiment, the process of protecting the data that needs to be protected transferred to the built-in storage area in step 103 may include: setting the password of the storage partition described by the internal storage path information, wherein the storage partition is stored in the built-in storage area of the mobile terminal. zone; or hide the storage partition described by the internal storage path information.
在本实施例中,对转移到内置存储区中的需要保护的数据进行保护,可以包括多种方式,在此不一一赘述。In this embodiment, the protection of the data that needs to be protected transferred to the built-in storage area may include multiple methods, which will not be repeated here.
在本实施例中,用户可以将数据保存到移动终端的内置存储区中,还可以保存到移动终端的外部存储设备中。如果移动终端的外部存储设备中有需要保护的数据,移动终端的系统可以获取数据保密指示信息;根据数据保密指示信息,移动终端的系统可以将外部存储设备中需要保护的数据转移到移动终端的内置存储区中,并对转移到内置存储区中的数据进行保护,能够实现移动终端的外部存储设备中数据的保护。In this embodiment, the user can save the data in the built-in storage area of the mobile terminal, and can also save the data in an external storage device of the mobile terminal. If there is data that needs to be protected in the external storage device of the mobile terminal, the system of the mobile terminal can obtain the data security indication information; according to the data security indication information, the system of the mobile terminal can transfer the data that needs to be protected in the external storage device to the mobile terminal's The built-in storage area and the protection of the data transferred to the built-in storage area can realize the protection of the data in the external storage device of the mobile terminal.
本实施例提供的移动终端的数据保护方法,通过将外部存储设备中的需要保护的数据转移到移动终端的内置存储区中,并对转移到移动终端的内置存储区中的数据进行保护,能够实现移动终端的外部存储设备中的数据的保护,提高了移动终端的外部存储设备中数据的安全性和私密性。本发明实施例解决了现有技术中,由于移动终端的外部存储设备易被他人从移动终端中拔出,造成数据被泄露或者被窃取的问题。The data protection method of the mobile terminal provided in this embodiment can transfer the data to be protected in the external storage device to the built-in storage area of the mobile terminal, and protect the data transferred to the built-in storage area of the mobile terminal. The protection of the data in the external storage device of the mobile terminal is realized, and the security and privacy of the data in the external storage device of the mobile terminal are improved. The embodiments of the present invention solve the problem in the prior art that data is leaked or stolen because the external storage device of the mobile terminal is easily pulled out from the mobile terminal by others.
为了使本领域技术人员可以实施本发明实施例提供的移动终端的数据保护方法,在本发明的另一实施例中,对本发明实施例提供的移动终端的数据保护方法做进一步限定,如图2所示,具体步骤可以包括:In order to enable those skilled in the art to implement the data protection method of the mobile terminal provided by the embodiment of the present invention, in another embodiment of the present invention, the data protection method of the mobile terminal provided by the embodiment of the present invention is further limited, as shown in Figure 2 As shown, specific steps may include:
步骤201,根据外部存储设备中的数据,获取数据保护权限。
在本实施例中,用户可以将数据保存到移动终端的内置存储区中,还可以保存到移动终端的外部存储设备中。In this embodiment, the user can save the data in the built-in storage area of the mobile terminal, and can also save the data in an external storage device of the mobile terminal.
在本实施例中,步骤201可以在移动终端设置数据保护平台,使用户在外部存储设备中有需要保护的数据时,获取数据保护权限。如果能够获取数据保护权限,可以进行后续的数据保护操作。In this embodiment, in
在本实施例中,判断外部存储设备中是否有需要保护的数据,可以使用移动终端的系统自动扫描获取移动终端的系统所默认的外部存储路径信息,判断默认的外部存储信息对应的路径下是否有需要保护的数据;或者移动终端的系统直接获取到用户在移动终端的系统中定义的外部存储路径信息,判断定义的外部存储路径信息对应的路径下是否有需要保护的数据。In this embodiment, to determine whether there is data that needs to be protected in the external storage device, the system of the mobile terminal can be used to automatically scan to obtain the default external storage path information of the system of the mobile terminal, and determine whether the path corresponding to the default external storage information is There is data that needs to be protected; or the system of the mobile terminal directly obtains the external storage path information defined by the user in the mobile terminal system, and determines whether there is data that needs to be protected under the path corresponding to the defined external storage path information.
步骤202,获取数据保密指示信息。
在本实施例中,使用数据保护平台获取数据保护权限后,进行外部存储设备的数据保护,获取数据保密指示信息。用户可以主动触发移动终端获取数据保密指示信息;同时为了使用户正常关机,离开移动终端时,不会出现数据泄露等问题,移动终端的系统在正常关机处理的流程前,也可以获取数据保密指示信息。In this embodiment, after the data protection authority is obtained by using the data protection platform, the data protection of the external storage device is performed, and the data confidentiality instruction information is obtained. The user can actively trigger the mobile terminal to obtain data confidentiality instruction information; at the same time, in order to ensure that the user shuts down normally and leaves the mobile terminal without data leakage, the system of the mobile terminal can also obtain data confidentiality instructions before the normal shutdown process information.
在本实施例中,为了使用户可以再次保护移动终端的外部存储设备中的数据,且不需要用户手动获取数据保密指示信息,步骤202可以设置使移动终端定时获取数据保密指示信息。In this embodiment, in order to enable the user to protect the data in the external storage device of the mobile terminal again without requiring the user to manually obtain the data confidentiality indication information,
在本实施例中,步骤202中数据保密指示信息可以包括:外部存储设备中需要保护的数据的外部存储路径信息,内置存储区实施保护的内部存储路径信息等。In this embodiment, the data confidentiality indication information in
步骤203,根据数据保密指示信息,获取外部存储设备中需要保护的数据的外部存储路径信息,以及内置存储区的内部存储路径信息。Step 203, according to the data security indication information, acquire the external storage path information of the data to be protected in the external storage device and the internal storage path information of the built-in storage area.
在本实施例中,步骤203中需要保护的数据的外部存储路径信息,可以为:移动终端的系统所默认的外部存储路径信息,或者用户在移动终端的系统中定义的外部存储路径信息;内置存储区的内部存储路径信息可以为:移动终端的系统所默认的内部存储路径信息,或者用户在移动终端的系统中定义的内部存储路径信息。In this embodiment, the external storage path information of the data to be protected in step 203 may be: the default external storage path information of the mobile terminal system, or the external storage path information defined by the user in the mobile terminal system; The internal storage path information of the storage area may be: the default internal storage path information of the mobile terminal system, or the internal storage path information defined by the user in the mobile terminal system.
步骤204,根据外部存储路径信息,获取外部存储路径信息对应的外部存储设备中的数据。
在本实施例中,步骤204中移动终端获取外部存储设备中的数据,并在移动终端上显示外部存储设备中的数据。In this embodiment, in
步骤205,获取确认进行数据保护的信息。
在本实施例中,如果确认移动终端上显示的外部存储设备中的数据是用户需要保护的数据,步骤205可以获取确认进行数据保护的信息。In this embodiment, if it is confirmed that the data in the external storage device displayed on the mobile terminal is data that the user needs to protect, step 205 may acquire information confirming data protection.
步骤206,设置内部存储路径信息描述的存储分区的密码。
本发明另一实施例提供的移动终端的数据保护方法,步骤201至步骤205可以避免由于移动终端的外部存储设备易被他人从移动终端中拔出,造成数据被泄露或者被窃取的问题。为了还可以保护转移到移动终端中的需要保护的数据,本实施例还可以包括步骤206,设置内部存储路径信息描述的存储分区的密码,其中,所述存储分区在移动终端的内置存储区中。只有拥有正确的存储分区的密码的情况下,才能查看移动终端的存储分区中的数据,可以防止他人窃取移动终端中需要保护的数据。为了提高移动终端数据的安全性,还可以在内置存储区设置多个级别的密码。In the data protection method of a mobile terminal provided by another embodiment of the present invention, steps 201 to 205 can avoid the problem of data being leaked or stolen because the external storage device of the mobile terminal is easily pulled out from the mobile terminal by others. In order to also protect the data that needs to be protected transferred to the mobile terminal, this embodiment may also include
步骤207,将外部存储设备中的数据转移到内部存储路径信息描述的路径下。
在本实施例中,步骤207,将所述外部存储路径信息对应的数据转移到所述内部存储路径信息描述的路径下的过程,可以包括:In this embodiment,
第一、将外部存储路径信息对应的数据复制到内部存储路径信息描述的路径下;First, copy the data corresponding to the external storage path information to the path described by the internal storage path information;
第二、对外部存储路径信息对应的数据和内部存储路径信息描述的路径下的数据进行第一校验;Second, perform a first check on the data corresponding to the external storage path information and the data under the path described by the internal storage path information;
第三、如果第一校验确认数据完整,删除外部存储路径信息对应的数据。Third, if the first verification confirms that the data is complete, delete the data corresponding to the external storage path information.
本实施例中数据转移过程,可以有多种情况,在此不一一赘述。In the data transfer process in this embodiment, there may be many situations, which will not be repeated here.
在本实施例中,步骤207转移数据,如果外部存储路径信息对应的数据的文件名称与内部存储路径信息描述的路径下的数据的文件名称相同,移动终端可以提示用户文件名称相同,确认用户是否要对内部存储路径信息描述的路径下的数据的文件进行覆盖或者重新设置文件名称;如果外部存储路径信息对应的数据较大,内置存储区的空间不够,移动终端可以提示用户清理内置存储区中的数据。In this embodiment, step 207 transfers data. If the file name of the data corresponding to the external storage path information is the same as the file name of the data under the path described by the internal storage path information, the mobile terminal can prompt the user that the file name is the same, and confirm whether the user It is necessary to overwrite or reset the file name of the data file under the path described by the internal storage path information; if the data corresponding to the external storage path information is large and the space in the built-in storage area is not enough, the mobile terminal can prompt the user to clean up the built-in storage area The data.
为了节省移动终端的内置存储区的空间,本实施例还可以包括:In order to save the space of the built-in storage area of the mobile terminal, this embodiment may also include:
步骤208,如果不需要保护移动终端的内置存储区中的数据,获取数据去保密指示信息。
在本实施例中,如果用户可以保证移动终端的外部存储设备中的数据不会被窃取或者被泄露,用户就不需要保护移动终端的内置存储区中的数据,移动终端获取数据去保密指示信息,并在移动终端上显示内置存储区中的数据;移动终端的系统在正常开机处理的流程后,也可以获取数据去保密指示信息。In this embodiment, if the user can guarantee that the data in the external storage device of the mobile terminal will not be stolen or leaked, the user does not need to protect the data in the built-in storage area of the mobile terminal, and the mobile terminal obtains the data deprivation instruction information , and display the data in the built-in storage area on the mobile terminal; the system of the mobile terminal can also obtain the data deprivation instruction information after the normal startup process.
步骤209,获取确认不进行数据保护的信息。
在本实施例中,如果确认移动终端上显示的内置存储区中的数据是用户不需要保护的数据,步骤209可以获取确认不进行数据保护的信息。In this embodiment, if it is confirmed that the data in the built-in storage area displayed on the mobile terminal is data that the user does not need to protect, step 209 may obtain information confirming that data protection is not performed.
步骤210,输入内部存储路径信息描述的存储分区的密码。
在本实施例中,为了可以保护转移到移动终端的数据,本实施例还可以包括输入内部存储路径信息描述的存储分区的密码,其中,所述存储分区在移动终端的内置存储区中。只有拥有正确密码的情况下,才能转移移动终端内部存储路径信息描述的路径下的数据,可以防止他人窃取移动终端中需要保护的数据。In this embodiment, in order to protect the data transferred to the mobile terminal, this embodiment may further include inputting a password of a storage partition described by the internal storage path information, wherein the storage partition is in a built-in storage area of the mobile terminal. Only with the correct password can the data under the path described by the path information stored inside the mobile terminal be transferred, which can prevent others from stealing the data that needs to be protected in the mobile terminal.
步骤211,将内置存储区中的数据转移到外部存储设备中。
在本实施例中,步骤211,将内置存储区中的数据转移到外部存储设备中,可以包括:In this embodiment,
第一、将内置存储区中的数据复制到外部存储设备中;First, copy the data in the built-in storage area to the external storage device;
第二、对内置存储区中和外部存储设备中的数据进行第二校验;Second, perform a second check on the data in the built-in storage area and the external storage device;
第三、如果第二校验确认数据完整,删除内置存储区中的数据。Third, if the second verification confirms that the data is complete, delete the data in the built-in storage area.
本实施例中数据转移过程,可以有多种情况,在此不一一赘述。In the data transfer process in this embodiment, there may be many situations, which will not be repeated here.
在本实施例中,步骤211转移数据,如果外部存储设备中的数据的文件名称与内置存储区中的数据的文件名称相同,移动终端可以提示用户文件名称相同,确认用户是否要对外部存储设备中的数据的文件进行覆盖或者重新设置文件名称。In this embodiment, step 211 transfers data. If the file name of the data in the external storage device is the same as the file name of the data in the built-in storage area, the mobile terminal can prompt the user that the file name is the same, and confirm whether the user wants to transfer the data to the external storage device. Overwrite or reset the file name in the data file.
在本实施例中,移动终端不能获取需要的信息时,不会对数据进行任何操作。In this embodiment, when the mobile terminal cannot obtain the required information, it will not perform any operation on the data.
综上所述,本实施例提供的移动终端的数据保护方法,获取数据保护权限,对数据进行保护的过程,如图3所示,可以包括:To sum up, the data protection method of the mobile terminal provided in this embodiment, the process of obtaining data protection authority and protecting data, as shown in FIG. 3 , may include:
步骤301,判断能否获取数据保护权限;Step 301, judging whether the data protection authority can be obtained;
如果能获取数据保护权限,执行步骤302,将需要保密的文件保存在外部存储设备的存储路径下;If the data protection authority can be obtained, execute step 302, and save the file that needs to be kept secret under the storage path of the external storage device;
步骤303,判断能否获取数据保密指示信息;Step 303, judging whether the data security indication information can be obtained;
如果能获取数据保密指示信息,执行步骤304,在移动终端上显示将对存储路径下的数据进行操作;If the data confidentiality indication information can be obtained, execute step 304, and display on the mobile terminal that the data under the storage path will be operated;
步骤305,判断能否获取确认进行数据保护的信息;Step 305, judging whether information confirming data protection can be obtained;
如果进行保密操作,执行步骤306,设置内部存储路径信息描述的存储分区的密码;If the security operation is performed, step 306 is performed to set the password of the storage partition described by the internal storage path information;
步骤307,将外部存储设备中的数据自动转移到内部存储路径信息描述的路径下;Step 307, automatically transfer the data in the external storage device to the path described by the internal storage path information;
如果不能获取数据保护权限、不能获取数据保密指示信息或者不能获取确认进行数据保护的信息,执行步骤308,对数据不做任何操作。If the data protection authority cannot be obtained, the data confidentiality indication information cannot be obtained, or the information confirming data protection cannot be obtained, perform step 308 and do not perform any operation on the data.
对数据进行去保护的过程,如图4所示,可以包括:The process of deprotecting data, as shown in Figure 4, may include:
步骤401,判断能否获取数据去保密指示信息;Step 401, judging whether the data deprivation indication information can be obtained;
如果能获取数据去保密指示信息,执行步骤402,在移动终端上显示内置存储区中的数据;If the data de-secrecy instruction information can be obtained, step 402 is performed to display the data in the built-in storage area on the mobile terminal;
步骤403,判断能否获取确认不进行数据保护的信息;Step 403, judging whether it is possible to obtain information confirming that data protection is not performed;
如果能获取不进行数据保护的信息,执行步骤404,输入内部存储路径信息描述的存储分区的密码;If the information without data protection can be obtained, step 404 is performed to input the password of the storage partition described by the internal storage path information;
步骤405,将内置存储区中的数据转移到外部存储设备中;Step 405, transferring the data in the built-in storage area to the external storage device;
如果不能获取数据去保密指示信息或者不能获取确认不进行数据保护的信息,执行步骤406,对数据不做任何操作。If the data deprivation instruction information cannot be obtained or the information confirming that the data protection is not performed cannot be obtained, step 406 is performed, and no operation is performed on the data.
本实施例提供的移动终端的数据保护方法,通过将外部存储设备中的需要保护的数据转移到移动终端的内置存储区中,并对转移到移动终端的内置存储区中的数据进行保护,能够实现移动终端的外部存储设备中的数据的保护,提高了移动终端的外部存储设备中数据的安全性和私密性。本发明实施例解决了现有技术中,由于移动终端的外部存储设备易被他人从移动终端中拔出,造成数据被泄露或者被窃取的问题。The data protection method of the mobile terminal provided in this embodiment can transfer the data to be protected in the external storage device to the built-in storage area of the mobile terminal, and protect the data transferred to the built-in storage area of the mobile terminal. The protection of the data in the external storage device of the mobile terminal is realized, and the security and privacy of the data in the external storage device of the mobile terminal are improved. The embodiments of the present invention solve the problem in the prior art that data is leaked or stolen because the external storage device of the mobile terminal is easily pulled out from the mobile terminal by others.
本发明的又一实施例,提供一种移动终端的数据保护装置,如图5所示,包括:Another embodiment of the present invention provides a data protection device for a mobile terminal, as shown in FIG. 5 , including:
第一信息获取模块501,用于如果需要保护移动终端的外部存储设备中的数据,获取数据保密指示信息。The first
在本实施例中,第一信息获取模块501所述的外部存储设备可以包括扩展卡如SD卡(Secure Digital)、CF卡(Compact Flash)、MMC卡(MultiMedia Card)和记忆棒(Memory Stick)等,在此不一一赘述。In this embodiment, the external storage device described in the first
在本实施例中,用户可以主动触发移动终端获取数据保密指示信息;同时为了使用户正常关机,离开移动终端时,不会出现数据泄露等问题,移动终端的系统在正常关机处理的流程前,也可以获取数据保密指示信息。In this embodiment, the user can actively trigger the mobile terminal to obtain data confidentiality indication information; at the same time, in order to enable the user to shut down normally and leave the mobile terminal without problems such as data leakage, the system of the mobile terminal must be processed before the normal shutdown process. Data privacy indication information may also be obtained.
在本实施例中,为了使用户可以再次保护移动终端的外部存储设备中的数据,且不需要用户手动获取数据保密指示信息,第一信息获取模块501可以设置使移动终端定时获取数据保密指示信息。In this embodiment, in order to enable the user to protect the data in the external storage device of the mobile terminal again, and does not require the user to manually obtain the data confidentiality indication information, the first
在本实施例中,第一信息获取模块501中数据保密指示信息可以包括:外部存储设备中需要保护的数据的外部存储路径信息,内置存储区实施保护的内部存储路径信息等。In this embodiment, the data confidentiality indication information in the first
第一转移模块502,用于根据第一信息获取模块获取的数据保密指示信息,将外部存储设备中需要保护的数据转移到移动终端的内置存储区中。The
数据保护模块503,用于保护第一转移模块转移到内置存储区中的需要保护的数据。The
在本实施例中,用户可以将数据保存到移动终端的内置存储区中,还可以保存到移动终端的外部存储设备中。如果移动终端的外部存储设备中有需要保护的数据,第一信息获取模块501可以获取数据保密指示信息;根据数据保密指示信息,第一转移模块502可以将外部存储设备中的数据转移到移动终端的内置存储区中,通过数据保护模块503能够实现移动终端的外部存储设备中数据的保护。In this embodiment, the user can save the data in the built-in storage area of the mobile terminal, and can also save the data in an external storage device of the mobile terminal. If there is data that needs to be protected in the external storage device of the mobile terminal, the first
进一步的,如图6所示,第一转移模块502,还可以包括:Further, as shown in FIG. 6, the
第二信息获取子模块5021,用于根据数据保密指示信息,获取外部存储设备中需要保护的数据的外部存储路径信息,以及内置存储区的内部存储路径信息。The second information acquisition sub-module 5021 is configured to acquire the external storage path information of the data to be protected in the external storage device and the internal storage path information of the built-in storage area according to the data security indication information.
在本实施例中,第二信息获取子模块5021中需要保护的数据的外部存储路径信息,可以为:移动终端的系统所默认的外部存储路径信息,或者用户在移动终端的系统中定义的外部存储路径信息;内置存储区的内部存储路径信息可以为:移动终端的系统所默认的内部存储路径信息,或者用户在移动终端的系统中定义的内部存储路径信息。In this embodiment, the external storage path information of the data to be protected in the second information acquisition sub-module 5021 can be: the default external storage path information of the mobile terminal system, or the external storage path information defined by the user in the mobile terminal system. Storage path information: The internal storage path information in the built-in storage area may be: the default internal storage path information of the mobile terminal system, or the internal storage path information defined by the user in the mobile terminal system.
数据获取子模块5022,用于根据第二信息获取模块获取的外部存储路径信息,获取所述外部存储路径信息对应的所述外部存储设备中的数据。The data obtaining sub-module 5022 is configured to obtain the data in the external storage device corresponding to the external storage path information according to the external storage path information obtained by the second information obtaining module.
在本实施例中,数据获取子模块5022可以获取外部存储设备中的数据,并在移动终端上显示外部存储设备中的数据。In this embodiment, the data acquisition sub-module 5022 can acquire data in the external storage device, and display the data in the external storage device on the mobile terminal.
第二转移子模块5023,用于将数据获取模块获取的数据转移到所述内部存储路径信息描述的路径下。The
在本实施例中,第二转移子模块5023的转移过程,还可以包括:In this embodiment, the transfer process of the
第一、将外部存储设备中的数据复制到内部存储路径信息描述的路径下;First, copy the data in the external storage device to the path described by the internal storage path information;
第二,对复制的外部存储设备中的数据和内部存储路径信息描述的路径下的数据进行第一校验;Second, perform a first check on the data in the copied external storage device and the data under the path described by the internal storage path information;
第三,如果第一校验确认数据完整,删除外部存储设备中的数据。Third, if the first check confirms that the data is complete, delete the data in the external storage device.
在本实施例中,数据转移可以有多种方式,在此不一一赘述。In this embodiment, there may be multiple ways of data transfer, which will not be detailed here.
在本实施例中,第二转移子模块5023,如果外部存储路径信息对应的数据的文件名称与内部存储路径信息描述的路径下的数据的文件名称相同,移动终端可以提示用户文件名称相同,确认用户是否要对内部存储路径信息描述的路径下的数据的文件进行覆盖或者重新设置文件名称;如果外部存储路径信息对应的数据较大,内置存储区的空间不够,移动终端可以提示用户清理内置存储区中的数据。In this embodiment, the
进一步的,如图7所示,数据保护模块503,还可以包括:Further, as shown in Figure 7, the
密码设置子模块5031,用于设置内部存储路径信息描述的存储分区的密码,其中,存储分区在移动终端的内置存储区中;The
分区隐藏子模块5032,用于隐藏内部存储路径信息描述的存储分区。The
在本实施例中,可以使用密码设置子模块5031和分区隐藏子模块5032对数据进行保护。In this embodiment, the
进一步的,如图8所示,本发明实施例提供的移动终端的数据保护装置,还可以包括:Further, as shown in FIG. 8, the data protection device for a mobile terminal provided in an embodiment of the present invention may further include:
权限获取模块504,用于根据外部存储设备中的数据,获取数据保护权限。The
在本实施例中,用户可以将数据保存到移动终端的内置存储区中,还可以保存到移动终端的外部存储设备中。In this embodiment, the user can save the data in the built-in storage area of the mobile terminal, and can also save the data in an external storage device of the mobile terminal.
在本实施例中,权限获取模块504可以在移动终端设置数据保护平台,使用户在外部存储设备中有需要保护的数据时,获取数据保护权限。如果能够获取数据保护权限,可以进行后续的数据保护操作。In this embodiment, the
在本实施例中,判断外部存储设备中是否有需要保护的数据,可以使用移动终端的系统自动扫描获取移动终端的系统所默认的外部存储路径信息,判断默认的外部存储信息对应的路径下是否有需要保护的数据;或者移动终端的系统直接获取到用户在移动终端的系统中定义的外部存储路径信息,判断定义的外部存储路径信息对应的路径下是否有需要保护的数据。In this embodiment, to determine whether there is data that needs to be protected in the external storage device, the system of the mobile terminal can be used to automatically scan to obtain the default external storage path information of the system of the mobile terminal, and determine whether the path corresponding to the default external storage information is There is data that needs to be protected; or the system of the mobile terminal directly obtains the external storage path information defined by the user in the mobile terminal system, and determines whether there is data that needs to be protected under the path corresponding to the defined external storage path information.
第一确认信息获取模块505,用于根据第一信息获取模块501获取的数据保密指示信息中需要保护的数据,获取确认进行数据保护的信息。The first confirmation
在本实施例中,如果确认移动终端上显示的外部存储设备中的数据是用户需要保护的数据,第一确认信息获取模块505可以获取确认进行数据保护的信息。In this embodiment, if it is confirmed that the data in the external storage device displayed on the mobile terminal is data that the user needs to protect, the first confirmation
进一步的,为了节省移动终端的内置存储区的空间,如图9所示,本发明实施例提供的移动终端的数据保护装置,还可以包括:Further, in order to save the space of the built-in storage area of the mobile terminal, as shown in FIG. 9, the data protection device for the mobile terminal provided by the embodiment of the present invention may further include:
第三信息获取模块506,用于如果不需要保护内置存储区中的数据,获取数据去保密指示信息。The third
在本实施例中,如果用户可以保证移动终端的外部存储设备中的数据不会被窃取或者被泄露,用户就不需要保护移动终端的内置存储区中的数据,第三信息获取模块506可以获取数据去保密指示信息,并在移动终端上显示内置存储区中的数据;移动终端的系统在正常开机处理的流程后,也可以获取数据去保密指示信息。In this embodiment, if the user can ensure that the data in the external storage device of the mobile terminal will not be stolen or leaked, the user does not need to protect the data in the built-in storage area of the mobile terminal, and the third
第二确认信息获取模块507,用于获取确认不需要保护内置存储区中的数据的信息。The second confirmation
在本实施例中,如果确认移动终端上显示的内置存储区中的数据是用户不需要保护的数据,第二确认信息获取模块507可以获取确认不进行数据保护的信息。In this embodiment, if it is confirmed that the data in the built-in storage area displayed on the mobile terminal is data that the user does not need to protect, the second confirmation
密码输入模块508,用于输入内部存储路径描述的路径的密码。A
在本实施例中,为了可以保护转移到移动终端的数据,本实施例还可以包括输入内部存储路径信息描述的存储分区的密码,其中,所述存储分区在移动终端的内置存储区中。只有拥有正确密码的情况下,才能转移移动终端内部存储路径信息描述的路径下的数据,可以防止他人窃取移动终端中需要保护的数据。In this embodiment, in order to protect the data transferred to the mobile terminal, this embodiment may further include inputting a password of a storage partition described by the internal storage path information, wherein the storage partition is in a built-in storage area of the mobile terminal. Only with the correct password can the data under the path described by the path information stored inside the mobile terminal be transferred, which can prevent others from stealing the data that needs to be protected in the mobile terminal.
第三转移模块509,用于根据第三信息获取模块获取的数据去保密指示信息,将内置存储区中的数据转移到外部存储设备中。The
在本实施例中,第三转移模块509,可以包括:In this embodiment, the
第一、将内置存储区中的数据复制到外部存储设备中;First, copy the data in the built-in storage area to the external storage device;
第二、对复制到内置存储区中的数据和外部存储设备中的数据进行第二校验;Second, perform a second check on the data copied to the built-in storage area and the data in the external storage device;
第三、如果第二校验确认数据完整,删除内置存储区中的数据。Third, if the second verification confirms that the data is complete, delete the data in the built-in storage area.
本实施例中数据转移过程,可以有多种情况,在此不一一赘述。In the data transfer process in this embodiment, there may be many situations, which will not be repeated here.
在本实施例中,第三转移模块509,如果外部存储设备中的数据的文件名称与内置存储区中的数据的文件名称相同,移动终端可以提示用户文件名称相同,确认用户是否要对外部存储设备中的数据的文件进行覆盖或者重新设置文件名称。In this embodiment, the
在本实施例中,移动终端不能获取需要的信息时,不会对数据进行任何操作。In this embodiment, when the mobile terminal cannot obtain the required information, it will not perform any operation on the data.
本实施例提供的移动终端的数据保护装置,通过将外部存储设备中的需要保护的数据转移到移动终端的内置存储区中,并对转移到移动终端的内置存储区中的数据进行保护,能够实现移动终端的外部存储设备中的数据的保护,提高了移动终端的外部存储设备中数据的安全性和私密性。本发明实施例解决了现有技术中,由于移动终端的外部存储设备易被他人从移动终端中拔出,造成数据被泄露或者被窃取的问题。The data protection device of the mobile terminal provided by this embodiment can transfer the data to be protected in the external storage device to the built-in storage area of the mobile terminal, and protect the data transferred to the built-in storage area of the mobile terminal. The protection of the data in the external storage device of the mobile terminal is realized, and the security and privacy of the data in the external storage device of the mobile terminal are improved. The embodiments of the present invention solve the problem in the prior art that data is leaked or stolen because the external storage device of the mobile terminal is easily pulled out from the mobile terminal by others.
本发明实施例提供的移动终端的数据保护方法和装置,适用于智能手机、MID、GPS手持终端等移动终端上。The data protection method and device for a mobile terminal provided by the embodiments of the present invention are applicable to mobile terminals such as smart phones, MIDs, and GPS handheld terminals.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。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 (7)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 201010538111 CN101998385B (en) | 2010-11-10 | 2010-11-10 | Data protection method and device for mobile terminal |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 201010538111 CN101998385B (en) | 2010-11-10 | 2010-11-10 | Data protection method and device for mobile terminal |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN101998385A CN101998385A (en) | 2011-03-30 |
| CN101998385B true CN101998385B (en) | 2013-08-28 |
Family
ID=43787768
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN 201010538111 Expired - Fee Related CN101998385B (en) | 2010-11-10 | 2010-11-10 | Data protection method and device for mobile terminal |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN101998385B (en) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1205479A (en) * | 1997-06-24 | 1999-01-20 | 国际商业机器公司 | Apparatus, method and computer program product for protecting copyright data in computer system |
| CN1271163A (en) * | 1999-04-16 | 2000-10-25 | 德国汤姆森-布兰特有限公司 | Method and device for preventing non-arthorised use of multiple medium content |
| CN1980226A (en) * | 2005-12-08 | 2007-06-13 | 腾讯科技(深圳)有限公司 | Safety protection method for subscriber information in instant communication, and system therefor |
-
2010
- 2010-11-10 CN CN 201010538111 patent/CN101998385B/en not_active Expired - Fee Related
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1205479A (en) * | 1997-06-24 | 1999-01-20 | 国际商业机器公司 | Apparatus, method and computer program product for protecting copyright data in computer system |
| CN1271163A (en) * | 1999-04-16 | 2000-10-25 | 德国汤姆森-布兰特有限公司 | Method and device for preventing non-arthorised use of multiple medium content |
| CN1980226A (en) * | 2005-12-08 | 2007-06-13 | 腾讯科技(深圳)有限公司 | Safety protection method for subscriber information in instant communication, and system therefor |
Also Published As
| Publication number | Publication date |
|---|---|
| CN101998385A (en) | 2011-03-30 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN106534570B (en) | Privacy protection method and device | |
| WO2016173264A1 (en) | Electronic data protection method and device, and terminal device | |
| KR101489152B1 (en) | Apparatus and method for preventing screen capture | |
| US9276748B2 (en) | Data-encrypting method and decrypting method for a mobile phone | |
| JPWO2009028052A1 (en) | Electronic device, unlocking method and program | |
| CN103955638A (en) | Method and device for privacy protection | |
| CN104158657A (en) | Information processing method and device, as well as encryption equipment | |
| CN105528306A (en) | Data read-write method for dual-system terminal, and dual-system terminal | |
| CN101777106A (en) | Method and device for preventing mobile terminal software from being stolen | |
| CN114003880A (en) | Privacy protection method and system | |
| CN105095784A (en) | Terminal data writing and reading methods and devices | |
| CN104751028B (en) | The method and device of application program encryption, decryption | |
| CN104239809A (en) | File protecting method, file protecting device, file decryption method, file decryption device and terminal | |
| CN101998385B (en) | Data protection method and device for mobile terminal | |
| CN114697007B (en) | A method, corresponding device and system for key management | |
| CN106326782A (en) | Information processing method and electronic device | |
| CN103514390A (en) | Method and device for data self-destroying and digital device | |
| CN104796531A (en) | Method and system for protecting information privacy | |
| CN105898011A (en) | Hardware cipher-based mobile phone data protection method and device | |
| CN101159542B (en) | Method and system for storing and acquiring authentication parameters on terminal network equipment | |
| CN113010918A (en) | Information processing method and device | |
| JP2013214190A (en) | Information processing terminal, control method for information processing terminal, control program, and computer readable recording medium with the control program recorded thereon | |
| CN100527893C (en) | Method for authenticating terminal user in mobile communication, and mobile communication terminal | |
| JP6076656B2 (en) | Device pairing method and device | |
| WO2016026333A1 (en) | Data protection method, device and storage medium in connection between terminal and pc |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20130828 |
|
| CF01 | Termination of patent right due to non-payment of annual fee |