WO2016145804A1 - Data processing and device - Google Patents

Data processing and device Download PDF

Info

Publication number
WO2016145804A1
WO2016145804A1 PCT/CN2015/089639 CN2015089639W WO2016145804A1 WO 2016145804 A1 WO2016145804 A1 WO 2016145804A1 CN 2015089639 W CN2015089639 W CN 2015089639W WO 2016145804 A1 WO2016145804 A1 WO 2016145804A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
attribute
stored
hard disk
storage unit
Prior art date
Application number
PCT/CN2015/089639
Other languages
French (fr)
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
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016145804A1 publication Critical patent/WO2016145804A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers

Definitions

  • This paper relates to the field of data processing technology, and in particular to a data processing and device.
  • the main technical problem to be solved by the present invention is to provide a data processing method and apparatus, which solves the problem that the data in the mobile hard disk needs to be manually cleared in the related art.
  • a data processing method comprising:
  • the preset automatic data clearing condition includes:
  • the step of automatically clearing, in the hard disk storage unit, the data whose attribute is an unprotected attribute is:
  • the data stored in the hard disk storage unit with the non-protected attribute is automatically cleared according to a preset clearing rule.
  • the method before the step of storing the acquired data to be stored in the hard disk storage unit of the terminal, the method further includes:
  • the step of storing the acquired data to be stored in the hard disk storage unit of the terminal includes: storing the acquired storage attribute of the data to be stored into the non-protected area.
  • the storing attribute further includes a protection storage attribute
  • the step of partitioning the hard disk storage unit further includes:
  • the at least one protection zone is separated, and the acquired storage attribute of the data to be stored is stored in the protection zone as a protection storage attribute, and when the data in the protection zone needs to be cleared, a clear warning is issued to the user.
  • a data processing device includes an attribute setting module, a data storage module, and an automatic clearing module:
  • the attribute setting module is configured to: set a storage attribute of the data to be stored, where the storage attribute includes an unprotected storage attribute;
  • the data storage module is configured to: acquire current data to be stored, and store the acquired data to be stored in a hard disk storage unit of the terminal;
  • the automatic clearing module is configured to automatically clear data stored in the hard disk storage unit as an unprotected attribute when the preset data automatic clearing condition is triggered.
  • the preset automatic data clearing condition includes:
  • the automatic clearing module is configured to be configured to automatically clear data stored in the hard disk storage unit as an unprotected attribute in the following manner:
  • the data stored in the hard disk storage unit with the non-protected attribute is automatically cleared according to a preset clearing rule.
  • the device further includes a storage partition module, wherein
  • the storage partitioning module is configured to partition the hard disk storage unit and divide at least one non-protected area before storing the acquired data to be stored in the hard disk storage unit of the terminal;
  • the data storage module is further configured to: store the acquired storage attribute of the to-be-stored data into the non-protected area.
  • the apparatus further includes a clear warning module, the storage attribute further comprising a protection storage attribute, wherein
  • the storage partition module is further configured to: separate at least one protection zone;
  • the data storage module is further configured to: store the acquired storage attribute of the data to be stored as a protection storage attribute in the protection zone;
  • the clear warning module is configured to issue a clear warning to the user when it is determined that the data in the protected area needs to be cleared.
  • a mobile terminal includes any of the above data processing devices.
  • a computer program comprising program instructions which, when executed by a computer, cause the computer to perform any of the above described data processing methods.
  • the data processing method and device provided by the technical solution of the present invention set a storage attribute of each data to be stored, the storage attribute includes an unprotected storage attribute, and acquires current data to be stored, which will be acquired.
  • the storage data is stored in the hard disk storage unit of the terminal; when the preset data automatic clear condition is triggered, the data stored in the hard disk storage unit with the attribute unprotected is automatically cleared.
  • the data of the unprotected storage attribute in the terminal storage unit can be automatically cleared, which not only can avoid clearing the data, but also can automatically clear the useless data, which can be well guaranteed.
  • the space utilization of the disk does not require the user to perform manual operations, thereby improving the user experience.
  • FIG. 1 is a flowchart of a data processing method according to Embodiment 1 of the present invention.
  • FIG. 2 is a flowchart of a data processing method according to Embodiment 2 of the present invention.
  • FIG. 3 is a schematic structural diagram 1 of a data processing apparatus according to Embodiment 3 of the present invention.
  • FIG. 4 is a schematic structural diagram 2 of a data processing apparatus according to Embodiment 3 of the present invention.
  • FIG. 5 is a schematic structural diagram 3 of a data processing apparatus according to Embodiment 3 of the present invention.
  • Embodiment 1 is a diagrammatic representation of Embodiment 1:
  • the data processing method of the embodiment of the present application is as shown in FIG. 1 , and the method includes:
  • Step S101 setting storage attributes of all data to be stored, where the storage attributes include unprotected storage attributes;
  • the data to be stored herein includes data stored by the user, application file data, log file data, and the like.
  • the application file data here includes the application System data and cached data during application use, etc.
  • the storage attribute here refers to whether the data can clear the data, that is, whether the data is important data for the user.
  • important data cannot be cleared, that is, the storage attribute is protected, that is, the data has a protected storage attribute; unimportant data can be cleared, that is, the storage attribute is not protected. That is, the data has an unprotected storage attribute.
  • the installation data of an application in the system is important. Once cleared, the application cannot be used.
  • protected storage attributes that cannot be cleared.
  • the cached data during use These are generally less important and will take up hard disk space. These are data with unprotected storage attributes that can be cleared and cleared to improve the utilization of the hard disk.
  • Step S102 Acquire current data to be stored, and store the acquired data to be stored in a hard disk storage unit of the terminal;
  • the data to be stored here includes application system data generated by the user at the time of installation of the application, cache data generated in the user's use application, and other data stored by the user himself.
  • Step S103 Automatically clear data stored in the hard disk storage unit as an unprotected attribute when the preset data automatic clear condition is triggered.
  • the specific preset data automatic clearing conditions include:
  • the data that can be cleared during use can be immediately cleared, and automatically when the remaining space of the hard disk is less than 10%. Clear. It should be understood that the specific clearing may be determined according to the specific settings of the user.
  • the preset data automatic clearing condition is to determine whether the storage space of the hard disk storage unit is less than a preset threshold, that is, whether the data automatic clearing condition is satisfied, and when the data automatic clearing condition is met, the hard disk is The data of the unprotected attribute in the storage unit is automatically cleared.
  • determining whether the data automatic clearing condition is met includes: determining a hard disk storage unit Whether the storage space is less than the preset threshold.
  • the data of the non-protected attribute in the hard disk storage unit is automatically cleared, and the data of the unprotected attribute in the hard disk storage unit is automatically cleared according to a preset clearing rule.
  • the preset clearing rule here may be based on the size of the stored data, for example, the storage data is first cleared, or the storage time is used. For example, the storage time is cleared first, and the specific situation may be specifically set according to the user.
  • the hard disk storage unit is partitioned, and at least one non-protected area is separated; and the obtained to-be-stored data is stored in the hard disk storage unit of the terminal, including:
  • the storage attribute of the data to be stored is stored in the non-protected area for the unprotected storage attribute.
  • Automatically clearing data stored in the hard disk storage unit with non-protected attributes includes automatically clearing data in the unprotected area. In this way, the data in the fixed hard disk area can be cleared only later, and the data is not searched and cleared one by one, which can improve data management and removal efficiency.
  • the storage attribute further includes a protection storage attribute
  • the partitioning the hard disk storage unit further includes: separating at least one protection area, which will be obtained.
  • the storage attribute of the data to be stored is stored in the protected area for the protected storage attribute, and a clear warning is issued to the user when the data in the protected area needs to be cleared. Subsequent clearing is based on the received user command. In this way, important data can be cleared according to the user's own choice, and the use space of the hard disk can also be improved.
  • the terminal in this example includes a mobile phone, a tablet, etc., and it should be understood that terminals having certain processing capabilities and hard disk storage are included.
  • Embodiment 2 is a diagrammatic representation of Embodiment 1:
  • the data processing method of the embodiment of the present application is as shown in FIG. 2, and the method includes:
  • Step S201 The system first performs area division on the storage unit, and is divided into a protection area and a non-protection area;
  • the storage unit of the terminal is divided into two types of areas, one type of area is used to store system level information and the user is marked as protected application information, which may be referred to herein as a protected area;
  • the class area is used to store general-purpose application information, which can be automatically cleaned conditionally, which can be called a non-protected area.
  • Step S202 The user sets an attribute of the application information data
  • Step S203 The system places the corresponding application information data into the corresponding storage unit area according to the set attributes
  • the system will specify the location area of the storage unit according to the attribute of the information data, that is, the information data with the protected attribute will be placed in the protection area of the storage unit; and the information with the non-protected attribute The data is placed in the unprotected area of the storage unit;
  • Step S204 If an alarm occurs in the remaining space of the storage unit
  • the alarm in the remaining space of the storage unit is a preset clearing condition, that is, it is determined whether the storage space of the hard disk storage unit is less than a preset threshold. If not, an alarm occurs.
  • Step S205 Perform condition determination on the application information data in the non-protected area, and clean the data satisfying the condition;
  • the system will judge the files in the non-protected area according to the conditions, and clean up the files satisfying the conditions.
  • the judgment according to the conditions here refers to the preset processing conditions.
  • Step S206 judging whether it is necessary to clean up the information data in the protected area, and notifying the user to manually clean up if necessary.
  • the system does not automatically clean up the information data in the protection zone, and the user keeps the processing according to the requirements. However, if the remaining space of the storage unit cannot be cleared after the non-protection zone is cleaned, the prompt is prompted. The user performs manual processing.
  • Embodiment 3 is a diagrammatic representation of Embodiment 3
  • the embodiment of the present application provides a data processing apparatus 300, as shown in FIG. 3, including an attribute setting module 301, a data storage module 302, and an automatic clearing module 303:
  • the attribute setting module 301 is configured to: set a storage attribute of each data to be stored, and the storage attribute includes an unprotected storage attribute;
  • the data storage module 302 is configured to: acquire current data to be stored, and store the acquired data to be stored in a hard disk storage unit of the terminal;
  • the automatic clearing module 303 is configured to automatically clear data stored in the hard disk storage unit as an unprotected attribute when the preset data automatic clearing condition is triggered.
  • the preset data automatic clearing condition includes: determining whether the storage space of the hard disk storage unit is less than a preset threshold, if it is less than, triggering; or determining whether the preset processing cycle is reached, if it is, triggering; or determining the current storage Whether the entered data is in use, such as when it is not in use.
  • the automatic clearing module 303 is further configured to: automatically clear the data stored in the hard disk storage unit as an unprotected attribute according to a preset clearing rule.
  • the embodiment of the present application provides a terminal data processing apparatus 300.
  • the method further includes a storage partition module 304.
  • the storage partition module 304 is configured to: before storing the acquired data to be stored in a hard disk storage unit of the terminal, The hard disk storage unit is partitioned to divide at least one non-protected area; the data storage module 302 is further configured to: store the acquired storage attribute of the to-be-stored data into the non-protected area.
  • the embodiment of the present application provides a data processing apparatus 300.
  • the method further includes a clearing warning module 305.
  • the storage attribute further includes a protection storage attribute.
  • the storage partition module 304 is further configured to: separate at least one protection area, and store data.
  • the module 302 is further configured to: store the acquired storage attribute of the data to be stored as a protection storage attribute in the protection area, and the clear warning module 305 issues a clear warning to the user when the data in the protected area needs to be cleared.
  • the above program may be stored in a computer readable storage medium such as a read only memory, a magnetic disk or an optical disk.
  • a computer readable storage medium such as a read only memory, a magnetic disk or an optical disk.
  • all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits.
  • each module/unit in the foregoing embodiment may be implemented in the form of hardware or in the form of a software function module. The invention is not limited to any specific form of combination of hardware and software.
  • the embodiment of the invention also discloses a computer program, comprising program instructions, which when executed by a computer, enable the computer to execute any of the above data processing methods.
  • the embodiment of the invention also discloses a carrier carrying the computer program.
  • the data processing method and device provided by the technical solution of the present invention set the storage attributes of the data to be stored, and the storage attributes include the unprotected storage attributes; the current data to be stored is obtained, and the acquired data to be stored is stored in the hard disk storage unit of the terminal.
  • the preset data automatic clear condition is triggered, the data stored in the hard disk storage unit with the attribute unprotected is automatically cleared.
  • the data of the unprotected storage attribute in the terminal storage unit can be automatically cleared, which not only can avoid clearing the data, but also can automatically clear the useless data, which can be well guaranteed.
  • the space utilization of the disk does not require the user to perform manual operations, thereby improving the user experience. Therefore, the present invention has strong industrial applicability.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Storage Device Security (AREA)

Abstract

Data processing method and device. The method comprises: setting a storage attribute for each data to be stored, the storage attribute comprising a non-protected storage attribute; acquiring current data to be stored, and storing the acquired data to be stored in a hard disk storage unit of a terminal; if a preset automatic data removal condition is met, automatically removing data in the hard disk storage unit having the non-protected storage attribute. Compared to the related art, the present invention enables automatic removal of data in the terminal storage unit having the non-protected storage attribute. Therefore, not only removal of data which should not be removed can be avoided, but undesirable data can also be automatically removed, thus ensuring favorable space utilization of the disk, eliminating the need of manual operations by users, and in turn improving user experience.

Description

一种数据处理和装置Data processing and device 技术领域Technical field
本文涉及数据处理技术领域,具体涉及一种数据处理和装置。This paper relates to the field of data processing technology, and in particular to a data processing and device.
背景技术Background technique
随着电子通信技术的不断发展和成熟,移动终端越来越智能,例如智能手机已成为人们日常生活和工作中不可缺少的工具,各种满足人们日常需要的app应用层出不穷,几乎每个应用都会在手机的硬件存储器上建立应用信息文件和日志文件,长时间使用后,这部分内容占据了越来越多存储器的空间,其中有很多是无用的信息数据,占用严重时甚至会应用某些应用的正常使用。而目前市场上的清理工具都是针对内存和垃圾文件进行清理,针对硬件存储单元的清理工具却没有,上述的应用信息文件和日志文件通常都需要用户手动进行清除,智能手机在这点上变得一点都不智能了。With the continuous development and maturity of electronic communication technology, mobile terminals are becoming more and more intelligent. For example, smart phones have become an indispensable tool in people's daily life and work. App applications that meet people's daily needs are emerging one after another. The application information file and the log file are built on the hardware storage of the mobile phone. After a long time of use, this part of the content occupies more and more memory space, many of which are useless information data, and even some applications are applied when the occupation is serious. Normal use. Currently, the cleaning tools on the market are for cleaning the memory and junk files, but the cleaning tools for the hardware storage units are not. The above application information files and log files usually need to be manually cleared by the user, and the smart phone changes at this point. Not at all smart.
发明内容Summary of the invention
本发明要解决的主要技术问题是,提供一种数据处理方法和装置,解决相关技术中对于移动硬盘中的数据需要进行手动清除的问题。The main technical problem to be solved by the present invention is to provide a data processing method and apparatus, which solves the problem that the data in the mobile hard disk needs to be manually cleared in the related art.
为解决上述问题,采用如下技术方案:In order to solve the above problems, the following technical solutions are adopted:
一种数据处理方法,包括:A data processing method comprising:
设置待存储数据的存储属性,所述存储属性包括非保护存储属性;Setting a storage attribute of the data to be stored, the storage attribute including an unprotected storage attribute;
获取当前的待存储数据,将获取的待存储数据存入终端的硬盘存储单元中;Obtaining the current data to be stored, and storing the obtained data to be stored in the hard disk storage unit of the terminal;
在预设的数据自动清除条件触发时,对所述硬盘存储单元中存储属性为非保护属性的数据进行自动清除。When the preset data automatic clear condition is triggered, the data in the hard disk storage unit whose attribute is unprotected is automatically cleared.
可选地,所述预设的数据自动清除条件包括:Optionally, the preset automatic data clearing condition includes:
判断所述硬盘存储单元的存储空间是否小于预设阈值,如小于,则触发; 或者,Determining whether the storage space of the hard disk storage unit is less than a preset threshold, if it is less than, triggering; or,
判断是否到达预设处理周期,如到达,则触发;或者,Determine whether the preset processing cycle is reached, if it arrives, trigger; or,
判断当前存入的数据是否处于非使用状态,如处于非使用状态,则触发。Determine whether the currently stored data is in a non-use state, such as in a non-use state, trigger.
可选地,所述对所述硬盘存储单元中存储属性为非保护属性的数据进行自动清除的步骤包括:Optionally, the step of automatically clearing, in the hard disk storage unit, the data whose attribute is an unprotected attribute is:
对所述硬盘存储单元中存储属性为非保护属性的数据按照预设清除规则自动进行清除。The data stored in the hard disk storage unit with the non-protected attribute is automatically cleared according to a preset clearing rule.
可选地,所述将获取的待存储数据存入终端的硬盘存储单元中的步骤之前,该方法还包括:Optionally, before the step of storing the acquired data to be stored in the hard disk storage unit of the terminal, the method further includes:
对所述硬盘存储单元进行分区,分出至少一个非保护区;Partitioning the hard disk storage unit to separate at least one non-protected area;
所述将获取的待存储数据存入终端的硬盘存储单元中的步骤包括:将获取的待存储数据的存储属性为非保护存储属性存入所述非保护区中。The step of storing the acquired data to be stored in the hard disk storage unit of the terminal includes: storing the acquired storage attribute of the data to be stored into the non-protected area.
可选地,所述存储属性还包括保护存储属性,所述对所述硬盘存储单元进行分区的步骤还包括:Optionally, the storing attribute further includes a protection storage attribute, and the step of partitioning the hard disk storage unit further includes:
分出至少一个保护区,将获取的待存储数据的存储属性为保护存储属性存入所述保护区中,当需要对所述保护区中的数据进行清除时,向用户发出清除警告。The at least one protection zone is separated, and the acquired storage attribute of the data to be stored is stored in the protection zone as a protection storage attribute, and when the data in the protection zone needs to be cleared, a clear warning is issued to the user.
一种数据处理装置,包括属性设置模块、数据存储模块和自动清除模块:A data processing device includes an attribute setting module, a data storage module, and an automatic clearing module:
所述属性设置模块设置成:设置待存储数据的存储属性,所述存储属性包括非保护存储属性;The attribute setting module is configured to: set a storage attribute of the data to be stored, where the storage attribute includes an unprotected storage attribute;
所述数据存储模块设置成:获取当前的待存储数据,将获取的待存储数据存入终端的硬盘存储单元中;The data storage module is configured to: acquire current data to be stored, and store the acquired data to be stored in a hard disk storage unit of the terminal;
所述自动清除模块设置成:在预设的数据自动清除条件触发时,对所述硬盘存储单元中存储属性为非保护属性的数据进行自动清除。The automatic clearing module is configured to automatically clear data stored in the hard disk storage unit as an unprotected attribute when the preset data automatic clearing condition is triggered.
可选地,所述预设的数据自动清除条件包括:Optionally, the preset automatic data clearing condition includes:
判断所述硬盘存储单元的存储空间是否小于预设阈值,如小于,则触发; 或者,Determining whether the storage space of the hard disk storage unit is less than a preset threshold, if it is less than, triggering; or,
判断是否到达预设处理周期,如到达,则触发;或者,Determine whether the preset processing cycle is reached, if it arrives, trigger; or,
判断当前存入的数据是否处于非使用状态,如处于非使用状态,则触发。Determine whether the currently stored data is in a non-use state, such as in a non-use state, trigger.
可选地,所述自动清除模块设置成设置成按照如下方式对所述硬盘存储单元中存储属性为非保护属性的数据进行自动清除:Optionally, the automatic clearing module is configured to be configured to automatically clear data stored in the hard disk storage unit as an unprotected attribute in the following manner:
对所述硬盘存储单元中存储属性为非保护属性的数据按照预设清除规则自动进行清除。The data stored in the hard disk storage unit with the non-protected attribute is automatically cleared according to a preset clearing rule.
可选地,该装置还包括存储分区模块,其中Optionally, the device further includes a storage partition module, wherein
所述存储分区模块设置成:在将获取的待存储数据存入终端的硬盘存储单元中之前,对所述硬盘存储单元进行分区,分出至少一个非保护区;The storage partitioning module is configured to partition the hard disk storage unit and divide at least one non-protected area before storing the acquired data to be stored in the hard disk storage unit of the terminal;
所述数据存储模块还设置成:将获取的待存储数据的存储属性为非保护存储属性存入所述非保护区中。The data storage module is further configured to: store the acquired storage attribute of the to-be-stored data into the non-protected area.
可选地,该装置还包括清除警告模块,所述存储属性还包括保护存储属性,其中Optionally, the apparatus further includes a clear warning module, the storage attribute further comprising a protection storage attribute, wherein
所述存储分区模块还设置成:分出至少一个保护区;The storage partition module is further configured to: separate at least one protection zone;
所述数据存储模块还设置成:将获取的待存储数据的存储属性为保护存储属性存入所述保护区中;The data storage module is further configured to: store the acquired storage attribute of the data to be stored as a protection storage attribute in the protection zone;
所述清除警告模块设置成:当确定需要对所述保护区中的数据进行清除时,向用户发出清除警告。The clear warning module is configured to issue a clear warning to the user when it is determined that the data in the protected area needs to be cleared.
一种移动终端,包括上述任意的数据处理装置。A mobile terminal includes any of the above data processing devices.
一种计算机程序,包括程序指令,当该程序指令被计算机执行时,使得该计算机可执行上述任意的数据处理方法。A computer program comprising program instructions which, when executed by a computer, cause the computer to perform any of the above described data processing methods.
一种载有所述的计算机程序的载体。A carrier carrying the computer program as described.
本发明技术方案的有益效果是:The beneficial effects of the technical solution of the present invention are:
本发明技术方案提供的数据处理方法和装置,设置各待存储数据的存储属性,存储属性包括非保护存储属性;获取当前的待存储数据,将获取的待 存储数据存入终端的硬盘存储单元中;在预设的数据自动清除条件触发时,对硬盘存储单元中存储属性为非保护属性的数据进行自动清除。与相关技术相比,对终端存储单元中的非保护存储属性的数据能够进行自动清除,不仅可以避免将不能清除数据进行清除,还可以进行自动对没用的数据进行清除,能够很好的保证磁盘的空间利用,不用用户去进行手动操作,提高了用户的体验度。The data processing method and device provided by the technical solution of the present invention set a storage attribute of each data to be stored, the storage attribute includes an unprotected storage attribute, and acquires current data to be stored, which will be acquired. The storage data is stored in the hard disk storage unit of the terminal; when the preset data automatic clear condition is triggered, the data stored in the hard disk storage unit with the attribute unprotected is automatically cleared. Compared with the related technology, the data of the unprotected storage attribute in the terminal storage unit can be automatically cleared, which not only can avoid clearing the data, but also can automatically clear the useless data, which can be well guaranteed. The space utilization of the disk does not require the user to perform manual operations, thereby improving the user experience.
附图概述BRIEF abstract
图1为本发明实施例一提供的数据处理方法方法流程图;1 is a flowchart of a data processing method according to Embodiment 1 of the present invention;
图2为本发明实施例二提供的数据处理方法流程图;2 is a flowchart of a data processing method according to Embodiment 2 of the present invention;
图3为本发明实施例三提供的数据处理装置结构示意图一;3 is a schematic structural diagram 1 of a data processing apparatus according to Embodiment 3 of the present invention;
图4为本发明实施例三提供的数据处理装置结构示意图二;4 is a schematic structural diagram 2 of a data processing apparatus according to Embodiment 3 of the present invention;
图5为本发明实施例三提供的数据处理装置结构示意图三。FIG. 5 is a schematic structural diagram 3 of a data processing apparatus according to Embodiment 3 of the present invention.
本发明的较佳实施方式Preferred embodiment of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
实施例一:Embodiment 1:
本申请实施例的数据处理方法,如图1所示,该方法包括:The data processing method of the embodiment of the present application is as shown in FIG. 1 , and the method includes:
步骤S101:设置所有待存储数据的存储属性,存储属性包括非保护存储属性;Step S101: setting storage attributes of all data to be stored, where the storage attributes include unprotected storage attributes;
可选地,在该步骤中,这里的待存储数据包括用户自己存储的数据、应用程序文件数据和日志文件数据等。这里的应用程序文件数据包括应用程序 系统数据和应用程序使用过程中的缓存数据等。Optionally, in this step, the data to be stored herein includes data stored by the user, application file data, log file data, and the like. The application file data here includes the application System data and cached data during application use, etc.
这里的存储属性是指该数据是不是可以清除数据,也即对于用户来讲该数据是不是重要数据。一般来讲重要的数据是不可以清除的,也就是说存储属性是受保护的,即该数据具有保护存储属性;不重要的数据是可以清除的,也就是说存储属性是不受保护的,即该数据具有非保护存储属性。例如,系统中应用程序的安装数据是重要的,一旦清除后,该应用程序便无法使用,这些就是带有保护存储属性的数据,是不能清除的;而对于该应用程序使用过程中的缓存数据,这些一般不太重要,并且会占用硬盘空间,这些就是带有非保护存储属性的数据,可以清除,清除后,提高硬盘的利用。The storage attribute here refers to whether the data can clear the data, that is, whether the data is important data for the user. Generally speaking, important data cannot be cleared, that is, the storage attribute is protected, that is, the data has a protected storage attribute; unimportant data can be cleared, that is, the storage attribute is not protected. That is, the data has an unprotected storage attribute. For example, the installation data of an application in the system is important. Once cleared, the application cannot be used. These are data with protected storage attributes that cannot be cleared. For the application, the cached data during use. These are generally less important and will take up hard disk space. These are data with unprotected storage attributes that can be cleared and cleared to improve the utilization of the hard disk.
步骤S102:获取当前的待存储数据,将获取的待存储数据存入终端的硬盘存储单元中;Step S102: Acquire current data to be stored, and store the acquired data to be stored in a hard disk storage unit of the terminal;
在该步骤中,这里的待存储数据包括用户在应用程序的安装时产生的应用程序系统数据和在用户使用应用程序中产生的缓存数据以及用户自己存储的其他数据。In this step, the data to be stored here includes application system data generated by the user at the time of installation of the application, cache data generated in the user's use application, and other data stored by the user himself.
步骤S103:在预设的数据自动清除条件触发时,对所述硬盘存储单元中存储属性为非保护属性的数据进行自动清除。Step S103: Automatically clear data stored in the hard disk storage unit as an unprotected attribute when the preset data automatic clear condition is triggered.
在该步骤中,具体的预设的数据自动清除条件包括:In this step, the specific preset data automatic clearing conditions include:
判断硬盘存储单元的存储空间是否小于预设阈值,如小于,则触发;或Determining whether the storage space of the hard disk storage unit is less than a preset threshold, if it is less than, triggering; or
判断是否到达预设处理周期,如到达,则触发;或Determine whether the preset processing cycle has been reached, and if it arrives, trigger; or
判断当前存入的数据是否处于使用状态,如处于非使用状态,则触发。Determines whether the currently stored data is in use, and triggers if it is in a non-use state.
例如,可以设置为每天定时清除一次,也可以在某个应用程序不使用后,对其使用过程中的可以清除的数据立即进行清除,还可以当硬盘的剩余空间不足百分之十时进行自动清除。应该理解为,具体的清除可以根据用户具体设置而定。For example, it can be set to be cleared once a day, or after an application is not used, the data that can be cleared during use can be immediately cleared, and automatically when the remaining space of the hard disk is less than 10%. Clear. It should be understood that the specific clearing may be determined according to the specific settings of the user.
为了降低系统的处理,可选地,预设的数据自动清除条件为判断硬盘存储单元的存储空间是否小于预设阈值,即判断是否满足数据自动清除条件,当满足数据自动清除条件时,对硬盘存储单元中的非保护属性的数据自动进行清除。具体的,判断是否满足数据自动清除条件包括:判断硬盘存储单元 的存储空间是否小于预设阈值。In order to reduce the processing of the system, optionally, the preset data automatic clearing condition is to determine whether the storage space of the hard disk storage unit is less than a preset threshold, that is, whether the data automatic clearing condition is satisfied, and when the data automatic clearing condition is met, the hard disk is The data of the unprotected attribute in the storage unit is automatically cleared. Specifically, determining whether the data automatic clearing condition is met includes: determining a hard disk storage unit Whether the storage space is less than the preset threshold.
进一步,为了更加合理的对存储数据进行清除,对硬盘存储单元中的非保护属性的数据自动进行清除包括:对硬盘存储单元中的非保护属性的数据按照预设清除规则进行自动进行清除。这里的预设处清除规则可以根据存储数据的大小,例如存储数据大的先进行清除,也可以是存储时间,例如存储时间早的先进行清除,具体的情况可以根据用户具体设置。Further, in order to clear the storage data more reasonably, the data of the non-protected attribute in the hard disk storage unit is automatically cleared, and the data of the unprotected attribute in the hard disk storage unit is automatically cleared according to a preset clearing rule. The preset clearing rule here may be based on the size of the stored data, for example, the storage data is first cleared, or the storage time is used. For example, the storage time is cleared first, and the specific situation may be specifically set according to the user.
为了便于后续的清除,优选的,对终端存储单元中的内容进行分类存储并进行及时的有条件清理。在将获取的待存储数据存入终端的硬盘存储单元中之前,对硬盘存储单元进行分区,分出至少一个非保护区;将获取的待存储数据存入终端的硬盘存储单元中包括:将获取的待存储数据的存储属性为非保护存储属性存入非保护区中。对硬盘存储单元中存储属性为非保护属性的数据进行自动清除包括:对非保护区中的数据自动进行清除。这样就可以后期只对固定硬盘区域中的数据进行清除即可,不用逐个数据进行查找清除,能够提高数据管理和清除效率。In order to facilitate subsequent cleaning, it is preferable to classify and store the content in the terminal storage unit and perform timely conditional cleaning. Before storing the to-be-stored data in the hard disk storage unit of the terminal, the hard disk storage unit is partitioned, and at least one non-protected area is separated; and the obtained to-be-stored data is stored in the hard disk storage unit of the terminal, including: The storage attribute of the data to be stored is stored in the non-protected area for the unprotected storage attribute. Automatically clearing data stored in the hard disk storage unit with non-protected attributes includes automatically clearing data in the unprotected area. In this way, the data in the fixed hard disk area can be cleared only later, and the data is not searched and cleared one by one, which can improve data management and removal efficiency.
进一步,如果需要存储空间很大的情况下,对于重要的数据也可以进行清除,具体的,存储属性还包括保护存储属性,对硬盘存储单元进行分区还包括:分出至少一个保护区,将获取的待存储数据的存储属性为保护存储属性存入保护区中,当需要对保护区中的数据进行清除时,对用户发出清除警告。后续根据接收的用户指令进行清除。这样就可以根据用户自己的选择进行重要数据清除,也可以提高硬盘的使用空间。Further, if the storage space is required to be large, the important data may also be cleared. Specifically, the storage attribute further includes a protection storage attribute, and the partitioning the hard disk storage unit further includes: separating at least one protection area, which will be obtained. The storage attribute of the data to be stored is stored in the protected area for the protected storage attribute, and a clear warning is issued to the user when the data in the protected area needs to be cleared. Subsequent clearing is based on the received user command. In this way, important data can be cleared according to the user's own choice, and the use space of the hard disk can also be improved.
值得注意的是,本实例中的终端包括手机,平板等,应该理解为具有一定处理能力和硬盘存储的终端都包含在内。It should be noted that the terminal in this example includes a mobile phone, a tablet, etc., and it should be understood that terminals having certain processing capabilities and hard disk storage are included.
实施例二:Embodiment 2:
本申请实施例的数据处理方法,如图2所示,该方法包括:The data processing method of the embodiment of the present application is as shown in FIG. 2, and the method includes:
步骤S201:系统首先对存储单元进行区域划分,分为保护区和非保护区;Step S201: The system first performs area division on the storage unit, and is divided into a protection area and a non-protection area;
在该步骤中,将终端的存储单元划分为两类区域,一类区域用来存储系统级别信息和用户标记为受保护的应用信息,这里可以称其为保护区;另一 类区域用来存储一般类的应用信息,这些信息可以被有条件的自动清理,这里可以称其为非保护区。In this step, the storage unit of the terminal is divided into two types of areas, one type of area is used to store system level information and the user is marked as protected application information, which may be referred to herein as a protected area; The class area is used to store general-purpose application information, which can be automatically cleaned conditionally, which can be called a non-protected area.
步骤S202:用户设置应用信息数据的属性;Step S202: The user sets an attribute of the application information data;
在该步骤中,设置手机内应用和数据的属性。手机中系统级的信息数据以及用户标记过的应用信息数据会带有保护属性;而用户没有标记过的应用信息数据则会带有非保护属性。In this step, set the properties of the apps and data within the phone. The system-level information data in the mobile phone and the user-marked application information data will have protection attributes; and the application information data that the user has not marked will have unprotected attributes.
步骤S203:系统根据设置的属性,将相应的应用信息数据放置到对应的存储单元区域中;Step S203: The system places the corresponding application information data into the corresponding storage unit area according to the set attributes;
在该步骤中,系统会按照信息数据的属性来指定其保存在存储单元的位置区域,即带有受保护属性的信息数据会被放在存储单元的保护区;而带有非保护属性的信息数据则会被放在存储单元的非保护区;In this step, the system will specify the location area of the storage unit according to the attribute of the information data, that is, the information data with the protected attribute will be placed in the protection area of the storage unit; and the information with the non-protected attribute The data is placed in the unprotected area of the storage unit;
步骤S204:如果存储单元的剩余空间出现告警;Step S204: If an alarm occurs in the remaining space of the storage unit;
在该步骤中,这里存储单元的剩余空间出现告警是预设清除条件的一种,也即判断所述硬盘存储单元的存储空间是否小于预设阈值,如果小于,则出现告警。In this step, the alarm in the remaining space of the storage unit is a preset clearing condition, that is, it is determined whether the storage space of the hard disk storage unit is less than a preset threshold. If not, an alarm occurs.
步骤S205:对非保护区中的应用信息数据进行条件判断,并对满足条件的数据进行清理;Step S205: Perform condition determination on the application information data in the non-protected area, and clean the data satisfying the condition;
在该步骤中,当存储单元的剩余空间达到一定的告警区间时,系统就会对非保护区中的文件按照条件进行判断,对于满足条件的文件进行清理。这里的按照条件判断是指预设处理条件。In this step, when the remaining space of the storage unit reaches a certain alarm interval, the system will judge the files in the non-protected area according to the conditions, and clean up the files satisfying the conditions. The judgment according to the conditions here refers to the preset processing conditions.
步骤S206:对保护区中的信息数据,判断是否有必要进行清理,如果有必要就通知用户手动清理。Step S206: judging whether it is necessary to clean up the information data in the protected area, and notifying the user to manually clean up if necessary.
在该步骤中,对于保护区中的信息数据,系统不会自动进行清理,保留给用户自行按照需要进行处理,但是当非保护区清理后仍无法使存储单元的剩余空间告警退出的话,则提示用户进行手动处理。In this step, the system does not automatically clean up the information data in the protection zone, and the user keeps the processing according to the requirements. However, if the remaining space of the storage unit cannot be cleared after the non-protection zone is cleaned, the prompt is prompted. The user performs manual processing.
实施例三: Embodiment 3:
本申请实施例提供一种数据处理装置300,如图3所示,包括属性设置模块301、数据存储模块302和自动清除模块303:The embodiment of the present application provides a data processing apparatus 300, as shown in FIG. 3, including an attribute setting module 301, a data storage module 302, and an automatic clearing module 303:
属性设置模块301设置成:设置各待存储数据的存储属性,存储属性包括非保护存储属性;The attribute setting module 301 is configured to: set a storage attribute of each data to be stored, and the storage attribute includes an unprotected storage attribute;
数据存储模块302设置成:获取当前的待存储数据,将获取的待存储数据存入终端的硬盘存储单元中;The data storage module 302 is configured to: acquire current data to be stored, and store the acquired data to be stored in a hard disk storage unit of the terminal;
自动清除模块303设置成:在预设的数据自动清除条件触发时,对硬盘存储单元中存储属性为非保护属性的数据进行自动清除。The automatic clearing module 303 is configured to automatically clear data stored in the hard disk storage unit as an unprotected attribute when the preset data automatic clearing condition is triggered.
具体的,预设的数据自动清除条件包括:判断硬盘存储单元的存储空间是否小于预设阈值,如小于,则触发;或判断是否到达预设处理周期,如到达,则触发;或判断当前存入的数据是否处于使用状态,如处于非使用状态,则触发。Specifically, the preset data automatic clearing condition includes: determining whether the storage space of the hard disk storage unit is less than a preset threshold, if it is less than, triggering; or determining whether the preset processing cycle is reached, if it is, triggering; or determining the current storage Whether the entered data is in use, such as when it is not in use.
进一步,自动清除模块303还设置成:对硬盘存储单元中存储属性为非保护属性的数据按照预设清除规则自动进行清除。Further, the automatic clearing module 303 is further configured to: automatically clear the data stored in the hard disk storage unit as an unprotected attribute according to a preset clearing rule.
本申请实施例提供一种终端数据处理装置300,如图4所示,还包括存储分区模块304,存储分区模块304设置成:在将获取的待存储数据存入终端的硬盘存储单元中之前,对硬盘存储单元进行分区,分出至少一个非保护区;数据存储模块302还设置成:将获取的待存储数据的存储属性为非保护存储属性存入非保护区中。The embodiment of the present application provides a terminal data processing apparatus 300. As shown in FIG. 4, the method further includes a storage partition module 304. The storage partition module 304 is configured to: before storing the acquired data to be stored in a hard disk storage unit of the terminal, The hard disk storage unit is partitioned to divide at least one non-protected area; the data storage module 302 is further configured to: store the acquired storage attribute of the to-be-stored data into the non-protected area.
本申请实施例提供一种数据处理装置300,如图5所示,还包括清除警告模块305,存储属性还包括保护存储属性,存储分区模块304还设置成:分出至少一个保护区,数据存储模块302还设置成:将获取的待存储数据的存储属性为保护存储属性存入保护区中,清除警告模块305当需要对保护区中的数据进行清除时,对用户发出清除警告。The embodiment of the present application provides a data processing apparatus 300. As shown in FIG. 5, the method further includes a clearing warning module 305. The storage attribute further includes a protection storage attribute. The storage partition module 304 is further configured to: separate at least one protection area, and store data. The module 302 is further configured to: store the acquired storage attribute of the data to be stored as a protection storage attribute in the protection area, and the clear warning module 305 issues a clear warning to the user when the data in the protected area needs to be cleared.
本发明实施例所述的各种方法、系统和装置可以应用于各种终端,尤其是移动终端中。The various methods, systems, and apparatuses described in the embodiments of the present invention can be applied to various terminals, particularly mobile terminals.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序 来指令相关硬件完成,上述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。本发明不限制于任何特定形式的硬件和软件的结合。One of ordinary skill in the art will appreciate that all or part of the steps in the above methods may be passed through the program. To complete the instruction related hardware, the above program may be stored in a computer readable storage medium such as a read only memory, a magnetic disk or an optical disk. Alternatively, all or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the foregoing embodiment may be implemented in the form of hardware or in the form of a software function module. The invention is not limited to any specific form of combination of hardware and software.
以上实施例仅用以说明本发明的技术方案而非限制,仅仅参照较佳实施例对本发明进行了详细说明。本领域的普通技术人员应当理解,可以对本发明的技术方案进行修改或者等同替换,而不脱离本发明技术方案的精神和范围,均应涵盖在本发明的权利要求范围当中。The above embodiments are only intended to illustrate the technical solutions of the present invention and are not to be construed as limiting the invention. It should be understood by those skilled in the art that the present invention may be modified or equivalently substituted without departing from the spirit and scope of the invention.
本发明实施例还公开了一种计算机程序,包括程序指令,当该程序指令被计算机执行时,使得该计算机可执行上述任意的数据处理方法。The embodiment of the invention also discloses a computer program, comprising program instructions, which when executed by a computer, enable the computer to execute any of the above data processing methods.
本发明实施例还公开了一种载有所述的计算机程序的载体。The embodiment of the invention also discloses a carrier carrying the computer program.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
工业实用性Industrial applicability
本发明技术方案提供的数据处理方法和装置,设置各待存储数据的存储属性,存储属性包括非保护存储属性;获取当前的待存储数据,将获取的待存储数据存入终端的硬盘存储单元中;在预设的数据自动清除条件触发时,对硬盘存储单元中存储属性为非保护属性的数据进行自动清除。与相关技术相比,对终端存储单元中的非保护存储属性的数据能够进行自动清除,不仅可以避免将不能清除数据进行清除,还可以进行自动对没用的数据进行清除,能够很好的保证磁盘的空间利用,不用用户去进行手动操作,提高了用户的体验度。因此本发明具有很强的工业实用性。 The data processing method and device provided by the technical solution of the present invention set the storage attributes of the data to be stored, and the storage attributes include the unprotected storage attributes; the current data to be stored is obtained, and the acquired data to be stored is stored in the hard disk storage unit of the terminal. When the preset data automatic clear condition is triggered, the data stored in the hard disk storage unit with the attribute unprotected is automatically cleared. Compared with the related technology, the data of the unprotected storage attribute in the terminal storage unit can be automatically cleared, which not only can avoid clearing the data, but also can automatically clear the useless data, which can be well guaranteed. The space utilization of the disk does not require the user to perform manual operations, thereby improving the user experience. Therefore, the present invention has strong industrial applicability.

Claims (13)

  1. 一种数据处理方法,包括:A data processing method comprising:
    设置待存储数据的存储属性,所述存储属性包括非保护存储属性;Setting a storage attribute of the data to be stored, the storage attribute including an unprotected storage attribute;
    获取当前的待存储数据,将获取的待存储数据存入终端的硬盘存储单元中;Obtaining the current data to be stored, and storing the obtained data to be stored in the hard disk storage unit of the terminal;
    在预设的数据自动清除条件触发时,对所述硬盘存储单元中存储属性为非保护属性的数据进行自动清除。When the preset data automatic clear condition is triggered, the data in the hard disk storage unit whose attribute is unprotected is automatically cleared.
  2. 如权利要求1所述的数据处理方法,其中,所述预设的数据自动清除条件包括:The data processing method according to claim 1, wherein said preset automatic data clearing condition comprises:
    判断所述硬盘存储单元的存储空间是否小于预设阈值,如小于,则触发;或者,Determining whether the storage space of the hard disk storage unit is less than a preset threshold, if it is less than, triggering; or,
    判断是否到达预设处理周期,如到达,则触发;或者,Determine whether the preset processing cycle is reached, if it arrives, trigger; or,
    判断当前存入的数据是否处于非使用状态,如处于非使用状态,则触发。Determine whether the currently stored data is in a non-use state, such as in a non-use state, trigger.
  3. 如权利要求1所述的数据处理方法,其中,所述对所述硬盘存储单元中存储属性为非保护属性的数据进行自动清除的步骤包括:The data processing method according to claim 1, wherein the step of automatically clearing data stored in the hard disk storage unit as an unprotected attribute comprises:
    对所述硬盘存储单元中存储属性为非保护属性的数据按照预设清除规则自动进行清除。The data stored in the hard disk storage unit with the non-protected attribute is automatically cleared according to a preset clearing rule.
  4. 如权利要求1-3中任一项所述的数据处理方法,其中,所述将获取的待存储数据存入终端的硬盘存储单元中的步骤之前,该方法还包括:The data processing method according to any one of claims 1 to 3, wherein before the step of storing the acquired data to be stored in a hard disk storage unit of the terminal, the method further comprises:
    对所述硬盘存储单元进行分区,分出至少一个非保护区;Partitioning the hard disk storage unit to separate at least one non-protected area;
    所述将获取的待存储数据存入终端的硬盘存储单元中的步骤包括:将获取的待存储数据的存储属性为非保护存储属性存入所述非保护区中。The step of storing the acquired data to be stored in the hard disk storage unit of the terminal includes: storing the acquired storage attribute of the data to be stored into the non-protected area.
  5. 如权利要求4所述的数据处理方法,其中,所述存储属性还包括保护存储属性,所述对所述硬盘存储单元进行分区的步骤还包括:The data processing method according to claim 4, wherein the storing attribute further comprises a protection storage attribute, and the step of partitioning the hard disk storage unit further comprises:
    分出至少一个保护区,将获取的待存储数据的存储属性为保护存储属性存入所述保护区中,当需要对所述保护区中的数据进行清除时,向用户发出清除警告。 The at least one protection zone is separated, and the acquired storage attribute of the data to be stored is stored in the protection zone as a protection storage attribute, and when the data in the protection zone needs to be cleared, a clear warning is issued to the user.
  6. 一种数据处理装置,包括属性设置模块、数据存储模块和自动清除模块:A data processing device includes an attribute setting module, a data storage module, and an automatic clearing module:
    所述属性设置模块设置成:设置待存储数据的存储属性,所述存储属性包括非保护存储属性;The attribute setting module is configured to: set a storage attribute of the data to be stored, where the storage attribute includes an unprotected storage attribute;
    所述数据存储模块设置成:获取当前的待存储数据,将获取的待存储数据存入终端的硬盘存储单元中;The data storage module is configured to: acquire current data to be stored, and store the acquired data to be stored in a hard disk storage unit of the terminal;
    所述自动清除模块设置成:在预设的数据自动清除条件触发时,对所述硬盘存储单元中存储属性为非保护属性的数据进行自动清除。The automatic clearing module is configured to automatically clear data stored in the hard disk storage unit as an unprotected attribute when the preset data automatic clearing condition is triggered.
  7. 如权利要求6所述的数据处理装置,其中,所述预设的数据自动清除条件包括:The data processing apparatus according to claim 6, wherein said preset automatic data clearing condition comprises:
    判断所述硬盘存储单元的存储空间是否小于预设阈值,如小于,则触发;或者,Determining whether the storage space of the hard disk storage unit is less than a preset threshold, if it is less than, triggering; or,
    判断是否到达预设处理周期,如到达,则触发;或者,Determine whether the preset processing cycle is reached, if it arrives, trigger; or,
    判断当前存入的数据是否处于非使用状态,如处于非使用状态,则触发。Determine whether the currently stored data is in a non-use state, such as in a non-use state, trigger.
  8. 如权利要求6所述的数据处理装置,其中,所述自动清除模块设置成设置成按照如下方式对所述硬盘存储单元中存储属性为非保护属性的数据进行自动清除:The data processing apparatus according to claim 6, wherein said automatic clearing module is configured to be configured to automatically clear data stored in said hard disk storage unit as an unprotected attribute in accordance with the following manner:
    对所述硬盘存储单元中存储属性为非保护属性的数据按照预设清除规则自动进行清除。The data stored in the hard disk storage unit with the non-protected attribute is automatically cleared according to a preset clearing rule.
  9. 如权利要求6-8中任一项所述的数据处理装置,该装置还包括存储分区模块,其中A data processing apparatus according to any one of claims 6-8, further comprising a storage partition module, wherein
    所述存储分区模块设置成:在将获取的待存储数据存入终端的硬盘存储单元中之前,对所述硬盘存储单元进行分区,分出至少一个非保护区;The storage partitioning module is configured to partition the hard disk storage unit and divide at least one non-protected area before storing the acquired data to be stored in the hard disk storage unit of the terminal;
    所述数据存储模块还设置成:将获取的待存储数据的存储属性为非保护存储属性存入所述非保护区中。The data storage module is further configured to: store the acquired storage attribute of the to-be-stored data into the non-protected area.
  10. 如权利要求9所述的数据处理装置,该装置还包括清除警告模块,所述存储属性还包括保护存储属性,其中 The data processing apparatus of claim 9 further comprising a clear warning module, said storage attribute further comprising a protected storage attribute, wherein
    所述存储分区模块还设置成:分出至少一个保护区;The storage partition module is further configured to: separate at least one protection zone;
    所述数据存储模块还设置成:将获取的待存储数据的存储属性为保护存储属性存入所述保护区中;The data storage module is further configured to: store the acquired storage attribute of the data to be stored as a protection storage attribute in the protection zone;
    所述清除警告模块设置成:当确定需要对所述保护区中的数据进行清除时,向用户发出清除警告。The clear warning module is configured to issue a clear warning to the user when it is determined that the data in the protected area needs to be cleared.
  11. 一种移动终端,包括如权利要求6-10中任一项所述的数据处理装置。A mobile terminal comprising the data processing apparatus according to any one of claims 6-10.
  12. 一种计算机程序,包括程序指令,当该程序指令被计算机执行时,使得该计算机可执行如权利要求1-5中任一项所述的数据处理方法。A computer program comprising program instructions which, when executed by a computer, cause the computer to perform the data processing method of any of claims 1-5.
  13. 一种载有如权利要求12所述的计算机程序的载体。 A carrier carrying a computer program as claimed in claim 12.
PCT/CN2015/089639 2015-08-03 2015-09-15 Data processing and device WO2016145804A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510484230.4A CN106406747A (en) 2015-08-03 2015-08-03 Hard disk storage management method and apparatus for mobile terminal
CN201510484230.4 2015-08-03

Publications (1)

Publication Number Publication Date
WO2016145804A1 true WO2016145804A1 (en) 2016-09-22

Family

ID=56918396

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/089639 WO2016145804A1 (en) 2015-08-03 2015-09-15 Data processing and device

Country Status (2)

Country Link
CN (1) CN106406747A (en)
WO (1) WO2016145804A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107193886A (en) * 2017-04-27 2017-09-22 北京小米移动软件有限公司 File memory method and device
CN108170478B (en) * 2017-11-27 2020-07-24 拉卡拉支付股份有限公司 Data clearing method and device, wearable device and computer readable storage medium
CN108831241A (en) * 2018-09-10 2018-11-16 河南职业技术学院 A kind of Internet of Things simulation teaching system
CN110737408B (en) * 2019-10-18 2022-08-02 苏州浪潮智能科技有限公司 Method, system and device for removing hard disk
CN116560587B (en) * 2023-07-10 2023-10-13 北京小米移动软件有限公司 Data management system and terminal equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040122873A1 (en) * 2002-12-20 2004-06-24 International Business Machines Corporation Free space management
CN102880713A (en) * 2012-09-29 2013-01-16 北京奇虎科技有限公司 File deleting method and file deleting device
CN102880714A (en) * 2012-09-29 2013-01-16 北京奇虎科技有限公司 File deleting method and file deleting device
CN103995843A (en) * 2014-05-05 2014-08-20 安一恒通(北京)科技有限公司 System garbage cleaning method and device
CN104572819A (en) * 2014-12-02 2015-04-29 深圳市腾讯计算机系统有限公司 Clearing method and system for junk data
CN104699529A (en) * 2015-03-26 2015-06-10 联想(北京)有限公司 Information acquisition method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103955421A (en) * 2014-05-06 2014-07-30 珠海市君天电子科技有限公司 Method and system for file deletion

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040122873A1 (en) * 2002-12-20 2004-06-24 International Business Machines Corporation Free space management
CN102880713A (en) * 2012-09-29 2013-01-16 北京奇虎科技有限公司 File deleting method and file deleting device
CN102880714A (en) * 2012-09-29 2013-01-16 北京奇虎科技有限公司 File deleting method and file deleting device
CN103995843A (en) * 2014-05-05 2014-08-20 安一恒通(北京)科技有限公司 System garbage cleaning method and device
CN104572819A (en) * 2014-12-02 2015-04-29 深圳市腾讯计算机系统有限公司 Clearing method and system for junk data
CN104699529A (en) * 2015-03-26 2015-06-10 联想(北京)有限公司 Information acquisition method and device

Also Published As

Publication number Publication date
CN106406747A (en) 2017-02-15

Similar Documents

Publication Publication Date Title
WO2016145804A1 (en) Data processing and device
US9970966B2 (en) Method, device and computer storage medium for detecting power consumption of an application
EP2696285A1 (en) Method and device for allocating resource
CN106708578B (en) Log output method and device based on double threads
WO2020211791A1 (en) Method and device for anonymous page management, terminal device, and readable storage medium
CN110764906A (en) Memory recovery processing method and device, electronic equipment and storage medium
CN108205474B (en) Memory management method, terminal device, computer apparatus, and readable storage medium
WO2016183918A1 (en) Method and device for processing storage space
CN109800181B (en) Disk-based data writing method, data writing device and terminal equipment
WO2017219524A1 (en) Page saving method and electronic device
EP3680787A1 (en) Method for synchronization between primary database and standby database, database system and device
US10142928B2 (en) Method and apparatus for reducing power consumption, and mobile terminal
CN107766005B (en) Electronic file processing method and device and electronic terminal
TW201621623A (en) System, method and terminal for cleaning memory
CN105511876B (en) A kind of processing method and processing device of pushed information
EP2738712A1 (en) Embedded multimedia card partitioned storage space adjustment method and terminal
CN114490160A (en) Method, device, equipment and medium for automatically adjusting data tilt optimization factor
CN108205559B (en) Data management method and equipment thereof
EP3444721A1 (en) Method and apparatus for clearing up process, and storage medium
US10754674B2 (en) Method, apparatus, and system for reducing memory usage of a browser in a portable terminal device
CN109426563B (en) Process management method and device
CN115562840A (en) Task processing method, device and medium
CN115587049A (en) Memory recovery method and device, electronic equipment and storage medium
CN106202262B (en) Information processing method and electronic equipment
CN114721876A (en) Data backup method, device and medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15885178

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15885178

Country of ref document: EP

Kind code of ref document: A1