WO2016145804A1 - Procédé et dispositif de traitement de données - Google Patents

Procédé et dispositif de traitement de données 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
English (en)
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/fr

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

L'invention concerne un procédé et un dispositif de traitement de données. Le procédé consiste à : définir un attribut de stockage de chaque donnée à stocker, l'attribut de stockage comprenant un attribut de stockage sans protection ; acquérir les données à stocker actuelles et stocker les données à stocker acquises dans une unité de stockage sur disque dur d'un terminal ; si une condition de suppression de données automatique prédéfinie est remplie, supprimer automatiquement les données dont l'attribut de stockage équivaut à l'attribut sans protection dans l'unité de stockage sur disque dur. Par rapport à l'état de la technique, l'invention permet de supprimer automatiquement les données ayant l'attribut de stockage sans protection dans l'unité de stockage de terminal. Par conséquent, l'invention permet non seulement d'éviter la suppression des données qui ne doivent pas être supprimées, mais aussi de supprimer automatiquement les données indésirables, ce qui permet de garantir une utilisation favorable de l'espace du disque, d'éliminer la nécessité pour les utilisateurs d'effectuer des opérations manuelles et donc d'améliorer l'expérience des utilisateurs.
PCT/CN2015/089639 2015-08-03 2015-09-15 Procédé et dispositif de traitement de données WO2016145804A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510484230.4 2015-08-03
CN201510484230.4A CN106406747A (zh) 2015-08-03 2015-08-03 一种移动终端硬盘存储管理和装置

Publications (1)

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

Family

ID=56918396

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/089639 WO2016145804A1 (fr) 2015-08-03 2015-09-15 Procédé et dispositif de traitement de données

Country Status (2)

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

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107193886A (zh) * 2017-04-27 2017-09-22 北京小米移动软件有限公司 文件存储方法及装置
CN108170478B (zh) * 2017-11-27 2020-07-24 拉卡拉支付股份有限公司 数据清除方法、装置、可穿戴设备及计算机可读存储介质
CN108831241A (zh) * 2018-09-10 2018-11-16 河南职业技术学院 一种物联网仿真教学系统
CN110737408B (zh) * 2019-10-18 2022-08-02 苏州浪潮智能科技有限公司 一种硬盘清除方法、系统及装置
CN116560587B (zh) * 2023-07-10 2023-10-13 北京小米移动软件有限公司 数据管理系统及终端设备

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 (zh) * 2012-09-29 2013-01-16 北京奇虎科技有限公司 文件清理方法及装置
CN102880714A (zh) * 2012-09-29 2013-01-16 北京奇虎科技有限公司 文件清理方法及装置
CN103995843A (zh) * 2014-05-05 2014-08-20 安一恒通(北京)科技有限公司 系统垃圾清理方法和装置
CN104572819A (zh) * 2014-12-02 2015-04-29 深圳市腾讯计算机系统有限公司 一种垃圾数据的清理方法和系统
CN104699529A (zh) * 2015-03-26 2015-06-10 联想(北京)有限公司 一种信息获取方法及装置

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103955421A (zh) * 2014-05-06 2014-07-30 珠海市君天电子科技有限公司 一种针对文件删除的方法及系统

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 (zh) * 2012-09-29 2013-01-16 北京奇虎科技有限公司 文件清理方法及装置
CN102880714A (zh) * 2012-09-29 2013-01-16 北京奇虎科技有限公司 文件清理方法及装置
CN103995843A (zh) * 2014-05-05 2014-08-20 安一恒通(北京)科技有限公司 系统垃圾清理方法和装置
CN104572819A (zh) * 2014-12-02 2015-04-29 深圳市腾讯计算机系统有限公司 一种垃圾数据的清理方法和系统
CN104699529A (zh) * 2015-03-26 2015-06-10 联想(北京)有限公司 一种信息获取方法及装置

Also Published As

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

Similar Documents

Publication Publication Date Title
WO2016145804A1 (fr) Procédé et dispositif de traitement de données
US9970966B2 (en) Method, device and computer storage medium for detecting power consumption of an application
EP2696285A1 (fr) Procédé et dispositif pour l'attribution d'une ressource
CN106708578B (zh) 基于双线程的日志输出方法及装置
WO2020211791A1 (fr) Procédé et dispositif de gestion de pages anonymes, dispositif terminal, et support de stockage lisible
CN108205474B (zh) 内存管理方法、终端设备、计算机装置以及可读存储介质
WO2016183918A1 (fr) Procédé et dispositif de traitement d'espace de stockage
WO2017219524A1 (fr) Dispositif électronique et procédé de sauvegarde de page
EP3680787A1 (fr) Procédé de synchronisation entre une base de données primaire et une base de données de secours, système de base de données et dispositif
US10142928B2 (en) Method and apparatus for reducing power consumption, and mobile terminal
CN107766005B (zh) 电子文件处理方法、装置及电子终端
EP2738712B1 (fr) Procédé d'ajustement d'espace de stockage partitionné de carte multimédia intégrée et terminal
TW201621623A (zh) 內存清理系統、方法及終端設備
CN105511876B (zh) 一种推送信息的处理方法及装置
CN105095495A (zh) 一种分布式文件系统缓存管理方法和系统
CN114490160A (zh) 一种数据倾斜优化因子自动调整方法、装置、设备和介质
CN108205559B (zh) 一种数据管理方法及其设备
EP3444721A1 (fr) Procédé et appareil permettant d'effacer un processus et support de stockage
US10754674B2 (en) Method, apparatus, and system for reducing memory usage of a browser in a portable terminal device
CN110941597B (zh) 解压缩文件的清理方法、装置、计算设备及计算机存储介质
CN109426563B (zh) 一种进程管理方法及装置
CN115562840A (zh) 一种任务处理方法、装置及介质
WO2016110011A1 (fr) Terminal, procédé d'économie d'énergie associé, support de stockage
CN115587049A (zh) 内存回收方法、装置、电子设备及存储介质
CN106202262B (zh) 一种信息处理方法及电子设备

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