CN105956487A - Data eliminating method and device - Google Patents

Data eliminating method and device Download PDF

Info

Publication number
CN105956487A
CN105956487A CN 201610282530 CN201610282530A CN105956487A CN 105956487 A CN105956487 A CN 105956487A CN 201610282530 CN201610282530 CN 201610282530 CN 201610282530 A CN201610282530 A CN 201610282530A CN 105956487 A CN105956487 A CN 105956487A
Authority
CN
Grant status
Application
Patent type
Prior art keywords
data
user
mode
state
software
Prior art date
Application number
CN 201610282530
Other languages
Chinese (zh)
Inventor
许帅群
Original Assignee
乐视控股(北京)有限公司
乐视移动智能信息技术(北京)有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1438Restarting or rejuvenating
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore
    • G06F11/1451Management of the data involved in backup or backup restore by selection of backup contents
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6245Protecting personal data, e.g. for financial or medical purposes
    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2143Clearing memory, e.g. to prevent the data from being stolen

Abstract

The embodiment of the invention provides a data eliminating method and device. The data eliminating method comprises the steps of, in a recovery mode, identifying an encryption state of a software system in a user mode; and if the software system is in an unencrypted state, reserving the user data while carrying out a data elimination process in the recovery mode. Therefore, a user is unnecessary to copy the user data which are required to be reserved in advance, and the technical problem of operational inconvenience due to that the user is required to copy the user data in advance as data elimination in the prior art is to eliminate all the user data is solved. Meanwhile, the user data are reserved only when the software system in the user mode is in the unencrypted state; that is to say, when the user data are routine data which are not required to be encrypted, the user data are reserved; and if the user data are sensitive data, the processing way of eliminating all the data, which is relatively high in security, is stilled adopted to avoid leakage, so that the leakage risk of the sensitive user data is reduced.

Description

数据清除方法和装置 Data CleanUp method and apparatus

技术领域 FIELD

[0001]本发明涉及信息技术,尤其涉及一种数据清除方法和装置。 [0001] The present invention relates to information technology, particularly to a method and apparatus for clearing data.

背景技术 Background technique

[0002]在移动终端的软件系统中,例如安卓系统,恢复(Recovery)模式指的是一种可以对移动终端内部的数据或系统进行修改的模式。 [0002] In the software system of the mobile terminal, e.g. Andrew system, recovery (Recovery) mode refers to a mode can be modified inside the mobile terminal or system data. 在这个模式下可以写入新的软件系统,或者对已有的软件系统进行备份或升级,也可以进行恢复出厂设置。 In this mode you can write new software system, or the existing software systems for backup or upgrade, you can also restore the factory settings. 对于移动终端的软件系统来说,在恢复模式下能够实现软件系统升级和数据清除的功能。 For a software system of a mobile terminal, in recovery mode enables software system upgrades and data cleaning function.

[0003]发明人在实现本发明的过程中,发现现有技术存在如下缺陷: [0003] In the process of implementing the present invention, the disadvantages of the prior art has the following was found:

[0004]在进行数据清除时是对全部的用户数据进行删除,从而用户需要将需要保留的用户数据预先进行备份,例如对通信录、照片等文件进行拷贝操作不够便捷。 [0004] is to delete all user data during data cleaning, so that the user will need to retain data users need to be backed up in advance, for example, address book, photos and other documents copy operation is not convenient.

发明内容 SUMMARY

[0005]本发明提供一种数据清除方法和装置,用于解决现有技术中由于在进行数据清除时是对全部的用户数据进行删除所导致的用户需要预先拷贝用户数据,操作不便捷的技术问题。 [0005] The present invention provides a method of removing data and means for solving the prior art since a user is cleared during the data for all of the user data required to delete the resulting copy of the user data in advance, the operation is not convenient technical problem.

[0006]为达到上述目的,本发明的实施例采用如下技术方案: [0006] To achieve the above object, embodiments of the present invention adopts the following technical solutions:

[0007]第一方面,提供了 一种数据清除方法,包括: [0007] In a first aspect, there is provided a method of clearing data, comprising:

[0008]在恢复模式下,识别用户模式下的软件系统加密状态; [0008] In the recovery mode, encryption status recognition software in user mode;

[0009]若处于未加密状态,在恢复模式下,执行清除数据的流程时,对外接存储设备中的用户数据进行保留。 When [0009] If the state is not encrypted, in the recovery mode, clearing data execution process, the user data for the external storage device is reserved.

[0010]第二方面,提供了 一种数据清除装置,包括: [0010] In a second aspect, there is provided a data erasure apparatus comprising:

[0011]识别模块,用于在恢复模式下,识别用户模式下的软件系统加密状态; [0011] The identification module in the recovery mode, encryption status recognition software in user mode;

[0012]保留模块,用于若处于未加密状态,在恢复模式下,执行清除数据的流程时,对外接存储设备中的用户数据进行保留。 [0012] retention module, if used in a non-encrypted state, in the recovery mode, when the process execution clearing data, the user data for the external storage device is reserved.

[0013]本发明实施例提供的数据清除方法和装置,通过在恢复模式下,识别用户模式下的软件系统加密状态,若处于未加密状态,在恢复模式下,执行清除数据的流程时,对用户数据进行保留,从而用户无需预先对所需保留的用户数据进行拷贝,解决了现有技术中由于在进行数据清除时是对全部的用户数据进行删除所导致的用户需要预先拷贝用户数据,操作不便捷的技术问题。 [0013] When data cleanup methods and apparatus provided in the embodiment of the present invention, in a recovery mode, the software system encryption state identifying user mode, when in a non-encrypted state, in the recovery mode, execution flow clearing data, for user data is retained, so that the user need not previously reserved for the user data required to copy, to solve the prior art since a user is cleared during the data for all of the user data deletion resulting copy of the user data required in advance, the operation not convenient technical problems. 同时,由于仅在用户模式下为未加密状态时,才保留用户数据,也就是说,当用户数据为无需进行加密的常规数据时,对用户数据进行保留,若用户数据为敏感数据依旧采用安全性较高的全部清除以避免外泄的处理方式,降低了敏感的用户数据外泄的风险性。 Also, because only when an unencrypted state, only to retain user data in user mode, that is, when the user data without the need for conventional data encryption, user data retention, if the user data is still used for sensitive data secure high resistance clear in order to avoid leakage of treatment, reducing the risk of sensitive user data leakage.

[0014]上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。 [0014] The above description is only an overview of the technical solution of the present invention, in order to more fully understood from the present invention, but may be implemented in accordance with the contents of the specification, and in order to make the aforementioned and other objects, features and advantages of the present invention can be more apparent from the following specific embodiments cite Patent of the present invention.

附图说明 BRIEF DESCRIPTION

[0015]通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。 [0015] By reading the following detailed description of preferred embodiments Hereinafter, a variety of other advantages and benefits to those of ordinary skill in the art will become apparent. 附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。 The drawings are only for purposes of illustrating a preferred embodiment and are not to be considered limiting of the present invention. 而且在整个附图中,用相同的参考符号表示相同的部件。 But throughout the drawings, like parts with the same reference symbols. 在附图中: In the drawings:

[0016]图1为本发明实施例一提供的一种数据清除方法的流程示意图; [0016] FIG. 1 is a schematic flow A data removal method according to a first embodiment of the present invention;

[0017]图2为本发明实施例二提供的一种数据清除装置的结构示意图; [0017] FIG. 2 is a schematic structure of an apparatus of clearing data according to a second embodiment of the present invention;

[0018]图3为本发明实施例三提供的一种数据清除装置的结构示意图; [0018] FIG. 3 is a schematic structure of an apparatus of clearing data according to a third embodiment of the present invention;

[0019]图4为本发明实施例三提供的另一种数据清除装置的结构示意图; [0019] FIG. 4 is a schematic configuration of another data clearing device according to a third embodiment of the present invention;

[0020]图5为本发明实施例三提供的又一种数据清除装置的结构示意图。 [0020] FIG. 5 is a schematic structure of a further data clearing device according to a third embodiment of the present invention.

具体实施方式 detailed description

[0021]下面将参照附图更详细地描述本公开的示例性实施例。 [0021] The following exemplary embodiments of the present disclosure will be described in more detail with reference to the drawings. 虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。 While the exemplary embodiment shows an exemplary embodiment of the present disclosure in the drawings, it should be understood that the present disclosure may be implemented embodiments and should not be set forth herein to limit in various forms. 相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。 Rather, these embodiments are able to more thorough understanding of the present disclosure, and the scope of the present disclosure can be completely conveying to those skilled in the art.

[0022]下面结合附图对本发明实施例提供的数据清除方法和装置进行详细描述。 [0022] The following data removal methods and apparatus of the present invention to provide a description of embodiments in conjunction with the accompanying drawings in detail.

[0023] 实施例一 [0023] Example a

[0024]图1为本发明实施例一提供的一种数据清除方法的流程示意图,如图1所示,本实施例所提供的方法可以由移动终端执行,方法包括: [0024] FIG. 1 flow diagram of a method for clearing data according to a first embodiment of the invention, shown in Figure 1, the present embodiment the method provided may be performed by the mobile terminal, the method comprising:

[0025]步骤101、在恢复模式下,识别用户模式下的软件系统加密状态。 [0025] Step 101, in the recovery mode, the software system in encrypted state to identify the user mode.

[0026]具体的,软件系统具有用户模式和恢复模式,下面分别对两种模式进行简要的介绍。 [0026] Specifically, the software system has a user mode and a recovery mode, both modes are the following brief description.

[0027]其中,用户模式指的是一种用于用户通常情况下,使用移动终端的模式,用户模式具有两种加密状态,一种为加密状态,另一种为非加密状态。 [0027] wherein the user mode refers to a method for the general user, using a mobile terminal mode, the user has two encrypted mode, one for the encryption state, and the other a non-encrypted state. 在加密状态下,需要首先进行解密,才能够访问用户数据;另一种为非加密状态,无需解密,便可以访问用户数据。 In an encrypted state, need to be decrypted before they can access the user data; the other is non-encrypted state, without decryption, you can access user data. 通常情况下,若用户数据涉及较为敏感的信息,则可以将用户模式设置为已加密状态。 Typically, when the user data directed to more sensitive information, the user may be set as encrypted mode. 相反的,若用户数据为一般信息,无需进行加密,则可以将用户模式设置为未加密状态,从而节省加解密所带来的运行开销,提高运行速度。 Conversely, if the user data is general information, without encryption, the user may be set to an unencrypted mode, thereby saving the cryptographic operation brings the cost and improve the operating speed.

[0028]恢复模式指的是一种可以对安卓机内部的数据或系统进行修改的模式。 [0028] recovery mode refers to a mode may be modified internal Andrews machine or system data. 在这个模式下我们可以写入新的安卓系统,或者对已有的系统进行备份或升级,也可以进行恢复出厂设置以及数据清除等。 In this mode we can write the new Android system or the existing system backup or upgrade, you can also restore the factory settings and clear the data and so on.

[0029]作为一种可能的实现方式,在恢复模式下,读取预设状态位,其中,预设状态位是用户模式下设置软件系统的加密状态时所写入的,用于指示用户模式下所述软件系统的加密状态。 [0029] As one possible implementation, in the recovery mode, reads the preset state bits, wherein the bits are written by default when the setting state of the software encryption system of the user mode, the user mode for indicating the encryption status of the software system. 具体来说,用户模式下,可以对软件系统是否进行加密进行设置,在对加密状态设置完成之后,在预设状态位写入用于指示是否加密的值,进而在恢复模式下,通过对该预设状态位进行读取,根据该用于指示是否加密的值确定用户模式是否进行了加密。 In particular, the user mode, whether to set up the software encryption system, after completion of the encrypted set, preset write status bit that indicates whether the encrypted value, and further in the recovery mode, by the read preset status bit to determine whether a user mode indicating whether encrypted according to the encryption value.

[0030]作为另一种可能的实现方式,在恢复模式下,访问用户数据,若访问成功,确定用户模式下的软件系统加密状态为未加密,若访问失败,确定用户模式下的软件系统加密状态为已加密。 [0030] As another possible implementation, in the recovery mode, access to user data, if the access is successful, the software system determining the state of the encrypted unencrypted user mode, if the access fails, the system software determines the encrypted user mode status is encrypted. 这是由于当用户模式处于加密状态下时,恢复模式下的进程是不能够直接读取用户数据的,必须对其进行解密后才能够对用户数据进行访问,因而可以据此确定用户模式下的软件系统加密状态。 This is because when the user mode is encrypted, the process is not in recovery mode, the user can directly read data, must be able to access user data after it is decrypted, which can determine whether the user mode software encryption status.

[0031]步骤102、若处于未加密状态,在恢复模式下,执行清除数据的流程时,对用户数据进tx保留。 When [0031] Step 102, if the state is not encrypted, in the recovery mode, clearing data execution process, the user data into the reserved tx.

[0032]具体的,根据加密状态,对用户数据进行保留。 [0032] Specifically, according to the encryption state, the user data retained. 若处于未加密状态,在恢复模式下,执行清除数据的流程时,对外接存储设备中的用户数据进行保留。 If the state is not encrypted, in the recovery mode, clearing data execution process, the user data for the external storage device is reserved.

[0033]进一步,若处于已加密状态,在恢复模式下,执行清除数据的流程时,对外接存储设备中的用户数据进行清除。 When [0033] Further, if in the encrypted state, in the recovery mode, clearing data execution process, the user data for the external storage device will be cleared.

[0034] 其中,夕卜接存储设备可以为安全数码卡(Secure Digital Memory CarcUSD卡)。 [0034] where Xi Bu access storage device may be a secure digital card (Secure Digital Memory CarcUSD card).

[0035]通过在恢复模式下,识别用户模式下的软件系统加密状态,若处于未加密状态,在恢复模式下,执行清除数据的流程时,对用户数据进行保留,从而用户无需预先对所需保留的用户数据进行拷贝,解决了现有技术中由于在进行数据清除时是对全部的用户数据进行删除所导致的用户需要预先拷贝用户数据,操作不便捷的技术问题。 [0035] In the recovery mode passes, the system software identification encryption status in the user mode, if the state is not encrypted, in the recovery mode, execution flow of clear data, the user data is reserved in advance so that the user need not required user data is retained copy solve the prior art due to the user during the data is cleared for all of the user data deletion resulting need to pre-copy user data, the operation is not convenient technical problems.

[0036]同时,由于仅在用户模式下为未加密状态时,才保留用户数据,也就是说,当用户数据为无需进行加密的常规数据时,对用户数据进行保留,若用户数据为敏感数据依旧采用安全性较高的全部清除以避免外泄的处理方式,降低了敏感的用户数据外泄的风险性。 [0036] Meanwhile, since only when an unencrypted state, it retains the user data in the user mode, that is, when the encrypted user data without regular data, the user data is reserved, if the user the data is sensitive still using higher security clearance in order to avoid dealing with all manner of leakage, reducing the risk of sensitive user data leakage.

[0037]因此,本发明实施例所提供的方法,在保证了用户操作便捷性的同时,提高了用户数据的安全性。 [0037] Thus, the method provided in the embodiment of the present invention, while ensuring the convenience of user operation, improves the security of user data.

[0038] 实施例二 [0038] Second Embodiment

[0039]图2为本发明实施例二提供的一种数据清除装置的结构示意图,本实施例所提供的数据清除装置可以设置于移动终端中,如图2所示,该装置包括:识别模块31和保留模块32ο [0039] FIG. 2 is a schematic structure of an apparatus of clearing data according to a second embodiment of the present invention, the present embodiment of the data clear means provided may be provided in the mobile terminal shown in Figure 2, the apparatus comprising: an identification module 31 and retention module 32ο

[0040]识别模块31,用于在恢复模式下,识别用户模式下的软件系统加密状态。 [0040] The identification module 31, is used in the recovery mode, the system software identification encryption status in user mode.

[0041]保留模块32,用于若处于未加密状态,在恢复模式下,执行清除数据的流程时,对用户数据进行保留。 When the [0041] retention module 32, when used in a non-encrypted state, in the recovery mode, execution flow of clear data, user data retention.

[0042]本实施例所提供的装置通过识别模块31在恢复模式下,识别用户模式下的软件系统加密状态,若处于未加密状态,在恢复模式下,执行清除数据的流程时,保留模块32对用户数据进行保留,从而用户无需预先对所需保留的用户数据进行拷贝,解决了现有技术中由于在进行数据清除时是对全部的用户数据进行删除所导致的用户需要预先拷贝用户数据,操作不便捷的技术问题。 [0042] the present time means provided in the embodiment by 31 in the recovery mode, the encryption state of the software system in identifying the user a pattern recognition module, when in a non-encrypted state, in the recovery mode, execution flow of purge data, reservation module 32 retention of user data, user data so users do not need advance reservations required copy solves the prior art due to the user during the data is cleared for all of the user data deletion resulting need to pre-copy user data, operation is not convenient technical problems.

[0043]同时,由于保留模块32仅在用户模式下为未加密状态时,才保留用户数据,也就是说,当用户数据为无需进行加密的常规数据时,对用户数据进行保留,若用户数据为敏感数据依旧采用安全性较高的全部清除以避免外泄的处理方式,降低了敏感的用户数据外泄的风险性。 [0043] Meanwhile, since only the reservation module 32 is unencrypted, it retains the user data in the user mode, that is, when the encrypted user data without regular data, the user data is reserved, if the user data all sensitive data is still used as a high security clearance in order to avoid leakage of treatment, reducing the risk of sensitive user data leakage.

[0044]因此,本发明实施例所提供的装置,在保证了用户操作便捷性的同时,提高了用户数据的安全性。 [0044] Accordingly, embodiments of the device according to the present invention is provided, at the same time to ensure the user's ease of operation, it improves the security of user data.

[0045] 实施例三 [0045] Example three

[0046]图3为本发明实施例三提供的一种数据清除装置的结构示意图,如图3所示,在图2所提供的数据清除装置的基础上,该装置进一步包括:清除模块33。 [0046] A data structure diagram of FIG 3 according to a third embodiment of the cleaning device of the present invention, as shown in FIG clearing means based on the data provided in FIG 3, the apparatus further comprising: a purge module 33.

[0047]清除模块33,用于若处于已加密状态,在恢复模式下,执行清除数据的流程时,对外接存储设备中的用户数据进行清除。 [0047] Clear module 33, if used in the encrypted state, in the recovery mode, when the process execution clearing data, the user data for the external storage device will be cleared.

[0048]进一步,为了清楚说明本实施例所提供的数据清除装置,本实施例中提供了数据清除装置的两种可能的实现方式。 [0048] Further, for clarity the present embodiment the cleaning means data provided embodiment, the present embodiment provides two possible implementations of the data erasure apparatus.

[0049]作为一种可能的实现方式,图4为本发明实施例三提供的另一种数据清除装置的结构示意图,如图4所示,在图3的基础上,识别模块31,进一步包括:读取单元311和确定单元312。 [0049] As one possible implementation, FIG. 4 is a schematic view of another cleaning device data structure according to a third embodiment of the invention, shown in Figure 4, on the basis of FIG. 3, the identification module 31, further comprising : the reading unit 311 and the determination unit 312.

[0050]读取单元311,用于在恢复模式下,读取预设状态位。 [0050] The reading unit 311, in a recovery mode, reads the preset state bits.

[0051]其中,预设状态位是用户模式下设置所述软件系统的加密状态时所写入的,用于指示用户模式下所述软件系统的加密状态。 [0051] The preset status bit is set when encrypting the written state of the user mode software system, said software system for encryption status indication in the user mode.

[0052]确定单元312,用于根据所读取的预设状态位,确定用户模式下的所述软件系统加密状态。 [0052] The determination unit 312, according to a preset read status bits to determine the state of the software encryption system user mode.

[0053]作为另一种可能的实现方式,图5为本发明实施例三提供的又一种数据清除装置的结构示意图,如图5所示,在图3的基础上,识别模块31,进一步包括:访问单元313和处理单元314。 [0053] As another possible implementation, Figure 5 a schematic diagram of still another data structure of a cleaning device according to a third embodiment of the invention, shown in Figure 5, on the basis of FIG. 3, the identification module 31, further comprising: an access unit 313 and the processing unit 314.

[0054]访问单元313,用于在恢复模式下,访问用户数据。 [0054] The access unit 313, in a recovery mode, access to user data.

[0055]处理单元314,用于若访问成功,确定用户模式下的所述软件系统加密状态为未加密;若访问失败,确定用户模式下的所述软件系统加密状态为已加密。 [0055] processing unit 314, for access if successful, the software system determining the state of the encrypted unencrypted user mode; if access fails, the software system determining the user in an encrypted state as the encryption mode.

[0056]本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。 [0056] Those of ordinary skill in the art will be appreciated that: each of the foregoing methods to complete all or part of the hardware can step through the program instructions relating to the implementation. 前述的程序可以存储于一计算机可读取存储介质中。 The program may be stored in a computer readable storage medium. 该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:R0M、RAM、磁碟或者光盘等各种可以存储程序代码的介质。 When the program is executed, comprising the step of performing the above-described method of the embodiment; and the storage medium comprising: a variety of medium may store program codes R0M, RAM, magnetic disk, or optical disk.

[0057]最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。 [0057] Finally, it should be noted that: the above embodiments only describe the technical solutions in embodiments of the present invention, rather than limiting;. Although the embodiments of the present invention has been described in detail, those of ordinary skill in the art should appreciated: it still may be made to the technical solutions described embodiments modifications, or to some or all of the technical features equivalents; as such modifications or replacements do not cause the essence of corresponding technical solutions to depart from embodiments of the present invention range of technical solutions.

Claims (10)

  1. 1.一种数据清除方法,其特征在于,包括: 在恢复模式下,识别用户模式下的软件系统加密状态; 若处于未加密状态,在恢复模式下,执行清除数据的流程时,对用户数据进行保留。 CLAIMS 1. A method of removing data, characterized by comprising: recovery mode, the system software identification encryption status in user mode; if in unencrypted state, in the recovery mode, execution flow of clear data, user data be retained.
  2. 2.根据权利要求1所述的数据清除方法,其特征在于,所述识别用户模式下的软件系统加密状态包括: 在恢复模式下,读取预设状态位;其中,所述预设状态位是用户模式下设置所述软件系统的加密状态时所写入的,用于指示用户模式下所述软件系统的加密状态; 根据所读取的预设状态位,确定用户模式下的所述软件系统加密状态。 The data erasure method according to claim 1, characterized in that the system encryption status recognition software in user mode comprises: in recovery mode, reads the preset state bit; wherein said predetermined bit state is set encryption status of the software system is written in user mode, user mode for indicating the state of the software encryption system; preset state according to the read bit, determining the user mode software system encryption status.
  3. 3.根据权利要求1所述的数据清除方法,其特征在于,所述识别用户模式下的软件系统加密状态包括: 在恢复模式下,访问用户数据; 若访问成功,确定用户模式下的所述软件系统加密状态为未加密; 若访问失败,确定用户模式下的所述软件系统加密状态为已加密。 3. Data CleanUp method according to claim 1, characterized in that the system encryption status recognition software in user mode comprises: in recovery mode, access to user data; if access is successful, the user mode is determined encryption software an unencrypted state; if the access fails, the software system determining the user in an encrypted state as the encryption mode.
  4. 4.根据权利要求1-3任一项所述的数据清除方法,其特征在于,所述识别用户模式下的软件系统加密状态之后,还包括: 若处于已加密状态,在恢复模式下,执行清除数据的流程时,对外接存储设备中的用户数据进行清除。 4. After the data erasure method according to any one of claims 1-3, characterized in that the system encryption status recognition software in user mode, further comprising: if in the encrypted state, in the recovery mode, performing clearing the flow of data, the user data for the external storage device will be cleared.
  5. 5.根据权利要求1-3任一项所述的数据清除方法,其特征在于,所述用户数据存储于外接存储设备中。 Data CleanUp method according to any one of claims 1-3, wherein said user data is stored in the external storage device.
  6. 6.一种数据清除装置,其特征在于,包括: 识别模块,用于在恢复模式下,识别用户模式下的软件系统加密状态; 保留模块,用于若处于未加密状态,在恢复模式下,执行清除数据的流程时,对用户数据进行保留。 A data erasure apparatus comprising: an identification module for the recovery mode, the system software identification encryption status in user mode; reservation module configured to, if not in an encrypted state, in the recovery mode, when perform cleanup process data, user data retention.
  7. 7.根据权利要求6所述的数据清除装置,其特征在于,所述识别模块,包括: 读取单元,用于在恢复模式下,读取预设状态位;其中,所述预设状态位是用户模式下设置所述软件系统的加密状态时所写入的,用于指示用户模式下所述软件系统的加密状态; 确定单元,用于根据所读取的预设状态位,确定用户模式下的所述软件系统加密状态。 7. Data of the cleaning device according to claim 6, characterized in that the identification module, comprising: a reading unit for the recovery mode, the read bit preset state; wherein the predetermined status bit is set encryption status of the software system is written in user mode, a user mode indicating the encryption status of the software system; determining means, according to the read bit preset state, determining that the user mode the software system in encrypted state.
  8. 8.根据权利要求7所述的数据清除装置,其特征在于,所述识别模块,包括: 访问单元,用于在恢复模式下,访问用户数据; 处理单元,用于若访问成功,确定用户模式下的所述软件系统加密状态为未加密;若访问失败,确定用户模式下的所述软件系统加密状态为已加密。 8. The data erasure apparatus according to claim 7, wherein said identification module, comprising: an access unit, in the recovery mode is used, access to user data; a processing unit configured to, if access is successful, the user determination mode the software encryption system in an unencrypted state; if the access fails, the software system determining the user in an encrypted state as the encryption mode.
  9. 9.根据权利要求6-8任一项所述的数据清除装置,其特征在于,所述装置,还包括: 清除模块,用于若处于已加密状态,在恢复模式下,执行清除数据的流程时,对外接存储设备中的用户数据进行清除。 Clear process module for if in the encrypted state, in the recovery mode, performs clearing data: A data clearing device according to any of claims 6-8, characterized in that said apparatus further comprises when, for user data in an external storage device will be cleared.
  10. 10.根据权利要求6-8任一项所述的数据清除装置,其特征在于,所述用户数据存储于外接存储设备中。 Data according to claim any one of claims 6-8 removing device, wherein the user data stored in the external storage device.
CN 201610282530 2016-04-29 2016-04-29 Data eliminating method and device CN105956487A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201610282530 CN105956487A (en) 2016-04-29 2016-04-29 Data eliminating method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201610282530 CN105956487A (en) 2016-04-29 2016-04-29 Data eliminating method and device

Publications (1)

Publication Number Publication Date
CN105956487A true true CN105956487A (en) 2016-09-21

Family

ID=56914513

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201610282530 CN105956487A (en) 2016-04-29 2016-04-29 Data eliminating method and device

Country Status (1)

Country Link
CN (1) CN105956487A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103186741A (en) * 2011-12-30 2013-07-03 深圳市金正方科技有限公司 Method for recovering personalized settings of intelligent terminal
CN103246617A (en) * 2012-02-07 2013-08-14 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and data saving method based on Android system
WO2015060690A1 (en) * 2013-10-24 2015-04-30 Samsung Electronics Co., Ltd. Method and apparatus for upgrading operating system of electronic device
CN105224423A (en) * 2015-10-26 2016-01-06 Tcl海外电子(惠州)有限公司 Terminal data backup method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103186741A (en) * 2011-12-30 2013-07-03 深圳市金正方科技有限公司 Method for recovering personalized settings of intelligent terminal
CN103246617A (en) * 2012-02-07 2013-08-14 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and data saving method based on Android system
WO2015060690A1 (en) * 2013-10-24 2015-04-30 Samsung Electronics Co., Ltd. Method and apparatus for upgrading operating system of electronic device
CN105224423A (en) * 2015-10-26 2016-01-06 Tcl海外电子(惠州)有限公司 Terminal data backup method and device

Similar Documents

Publication Publication Date Title
US20070101158A1 (en) Security region in a non-volatile memory
US6378071B1 (en) File access system for efficiently accessing a file having encrypted data within a storage device
US20100088525A1 (en) External encryption and recovery management with hardware encrypted storage devices
US20030167395A1 (en) Implementation of storing secret information in data storage reader products
US20070014416A1 (en) System and method for protecting against dictionary attacks on password-protected TPM keys
US20030070083A1 (en) Method and device for encryption/decryption of data on mass storage device
US20080229428A1 (en) System and Method For a Dynamic Policies Enforced File System For a Data Storage Device
US20020138747A1 (en) Restricted data access
US20070174634A1 (en) System and/or method for encrypting data
US20130054979A1 (en) Sector map-based rapid data encryption policy compliance
US7013392B1 (en) File processing unit
US20060130129A1 (en) Authentication method based on private space of the usb flash memory media
CN101853363A (en) File protection method and system
US20120173882A1 (en) System and method for in-place encryption
US20070014403A1 (en) Controlling distribution of protected content
US8689279B2 (en) Encrypted chunk-based rapid data encryption policy compliance
US20070050851A1 (en) Information processing apparatus and information processing method
US20080052537A1 (en) Storage device, write-back method, and computer product
US20090164709A1 (en) Secure storage devices and methods of managing secure storage devices
US20100058066A1 (en) Method and system for protecting data
US20120066493A1 (en) Secure Transfer and Tracking of Data Using Removable Non-Volatile Memory Devices
US20070088923A1 (en) System and method for fast, secure removal of objects from disk storage
US20120233472A1 (en) Securing non-volatile memory regions
US20090022320A1 (en) Content copying device and content copying method
US20120159648A1 (en) Apparatus and method for managing digital rights using virtualization technique

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
WD01