CN106815283A - Data processing method, device and electronic equipment - Google Patents

Data processing method, device and electronic equipment Download PDF

Info

Publication number
CN106815283A
CN106815283A CN201611097105.9A CN201611097105A CN106815283A CN 106815283 A CN106815283 A CN 106815283A CN 201611097105 A CN201611097105 A CN 201611097105A CN 106815283 A CN106815283 A CN 106815283A
Authority
CN
China
Prior art keywords
data
terminal
attribute information
target property
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201611097105.9A
Other languages
Chinese (zh)
Inventor
李娜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
LeTV Holding Beijing Co Ltd
LeTV Information Technology Beijing Co Ltd
Original Assignee
LeTV Holding Beijing Co Ltd
LeTV Information Technology Beijing Co Ltd
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 LeTV Holding Beijing Co Ltd, LeTV Information Technology Beijing Co Ltd filed Critical LeTV Holding Beijing Co Ltd
Priority to CN201611097105.9A priority Critical patent/CN106815283A/en
Publication of CN106815283A publication Critical patent/CN106815283A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/162Delete operations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/1737Details of further file system functions for reducing power consumption or coping with limited storage space, e.g. in mobile devices

Abstract

The embodiment of the present invention provides a kind of data processing method,Device and electronic equipment,In embodiments of the present invention,In order to vacate the memory space of more free time to terminal,Terminal needs the corresponding data of target property information by user's selection is deleted from terminal,But terminal is before the corresponding data of target property information of user's selection are deleted,Terminal need first by the corresponding data storage of target property information beyond the clouds in,To realize data backup corresponding to target property information,Then corresponding data of delete target attribute information from terminal again,Afterwards,If user needs to use the corresponding data of target property information,Terminal can reacquire the corresponding data of target property information for users to use from high in the clouds,Such that it is able to avoid the occurrence of the phenomenon that cannot be got the corresponding data of target property information and the corresponding data of target property information cannot be used,And then avoid being made troubles to user,To improve Consumer's Experience.

Description

Data processing method, device and electronic equipment
Technical field
Set the present embodiments relate to field of computer technology, more particularly to a kind of data processing method, device and electronics It is standby.
Background technology
Currently, user using during mobile phone, mobile phone is often locally generated some ephemeral datas, and these are interim Data can take the memory space of mobile phone, cause the idle memory space in mobile phone less, and then influence mobile phone normally to run, Therefore, mobile phone is caused normally to run in order to avoid ephemeral data takes the excessive memory space of mobile phone, mobile phone can be with Data in timing scan mobile phone, and the ephemeral data for scanning actively is deleted, and then vacate the memory space of free time.
But, mobile phone can only actively delete the ephemeral data for scanning, it is impossible to actively delete the private data of user, such as Photo and video that user shoots, video that user downloads etc..
After mobile phone deletes the ephemeral data for scanning, if now idle memory space cannot also cause mobile phone just Often operation, then in order to vacate more idle memory spaces, the use that mobile phone is stored in can showing mobile phone on screen to mobile phone The title of the private data at family, user can show the name that private data is manually selected in the title of private data in mobile phone Claim, mobile phone will delete the corresponding private data of user's selection title from local afterwards, so as to realize vacateing more skies to mobile phone Not busy memory space.
However, inventor has found during the embodiment of the present invention is realized:
In mobile phone from after locally deleting these private datas, if user also needs to use these private datas, Because mobile phone is from these private datas are locally deleted, user cannot just get these private datas, and then cannot make These private datas are used, so as to bring inconvenience to user, causes Consumer's Experience relatively low.
The content of the invention
To solve the problems of the prior art, a kind of data processing method, device and electricity are provided in the embodiment of the present invention Sub- equipment.
The embodiment of the invention discloses following technical scheme:
In a first aspect, the embodiment of the invention provides a kind of data processing method, terminal is applied to, methods described includes:
Obtain the attribute information of the data stored in the terminal;
The attribute information is shown on the screen of the terminal;
When receive user be input into according to the attribute information, for deleting the attribute information in target property information During the deletion action of corresponding data, by the corresponding data storage of the target property information beyond the clouds in;
The corresponding data of the target property information are deleted from the terminal.
In embodiments of the present invention, in order to vacate more idle memory spaces to terminal, terminal needs will be from terminal The corresponding data of target property information of user's selection are deleted, but terminal is corresponding in the target property information for deleting user's selection Before data, terminal need first by the corresponding data storage of target property information beyond the clouds in, to realize to target property information Corresponding data backup, then corresponding data of delete target attribute information from terminal again.
Afterwards, if user needs to use the corresponding data of target property information, terminal can be reacquired from high in the clouds For users to use, such that it is able to avoid the occurrence of, cannot to get target property information corresponding for the corresponding data of target property information Data and and then cannot avoid being made troubles to user, to improve use using the phenomenon of the corresponding data of target property information Experience at family.
Wherein, the attribute information for obtaining the data stored in the terminal, including:
Scan the data stored in the terminal;
For each data for scanning, the data content according to the data calculates the MD5 values of the data;Obtain Memory space, the storage location of the data and the data shared by the Data Identification of the data, the data are repaiied Change the data type of timestamp and the data, by the MD5 values, the Data Identification, the memory space, the storage Position, modification time stamp and the data type are defined as the attribute information of the data.
In order to be improved while realizing and vacateing the memory space of more free time to terminal more free time are vacateed to terminal The efficiency of memory space, wherein, the data stored in the scanning terminal, including:
Scan the terminal storage, shared data of the memory space more than pre-set space threshold value.
In order to the efficiency of the attribute information of the data stored in terminal acquisition terminal after improving is vacateed with improving to terminal The efficiency of more idle memory spaces, it is further, described that the MD5 values, the Data Identification, the shared storage is empty Between, the storage location, the modification time stamp and the data type be defined as after the attribute information of the data, also Including:
The attribute information that will be determined is stored in the attribute information set for locally pre-setting.
Wherein, the attribute information for obtaining the data stored in the terminal, including:
Obtain the local attribute information set for pre-setting;
Obtain each attribute information in the attribute information set.
So as to realize while the attribute information of the data stored in getting terminal, stored in raising acquisition terminal The efficiency of the attribute information of data, and then improve the efficiency of the memory space that more free time are vacateed to terminal.
In order to improve the efficiency of the memory space that more free time are vacateed to terminal, and then raising is enabling the terminal to continue just The efficiency often run.It is required that the data stored in terminal are corresponded with the attribute information of attribute information set storage, That is, when a certain data storage in the terminal when, the attribute information of the data will necessarily be stored in attribute information set;Correspondingly, For each attribute information stored in attribute information set, the corresponding data of the attribute information are necessarily stored in terminal, Therefore, further, it is described delete the corresponding data of the target property information from the terminal after, also include:
The target property information is deleted in the attribute information set.
Further, methods described also includes:
When the terminal is listened to when new data is locally stored, the attribute information of the new data is obtained;
The attribute information of the new data is shown on the screen of the terminal;
When receive it is that the user is input into according to the attribute information of the new data, for deleting deleting for the new data During division operation, by new data storage beyond the clouds;
The new data is deleted from the terminal.
Wherein, it is described to show the attribute information on the screen of the terminal, including:
Memory space according to shared by attribute information order from large to small, to the attribute information row of the acquisition Sequence;
The attribute information after sequence is shown on the screen of the terminal.
In this way, after the attribute information that terminal shows acquisition on screen, user searches in the attribute information of display During the attribute information of the larger data of shared memory space, directly can in the original position of attribute information of display To find the attribute information of the larger data of shared memory space,
Without all properties information of successively traversal display, that is, without being looked into one by one in the attribute information of display The attribute information of the larger data of shared memory space is looked for, the lookup time is saved, user is facilitated.
Second aspect, the embodiment of the invention provides a kind of data processing equipment, be applied to terminal, and described device includes:
First acquisition module, the attribute information for obtaining the data stored in the terminal;
First display module, for showing the attribute information on the screen of the terminal;
Memory module, for when receive it is that user is input into according to the attribute information, for deleting the attribute information in The corresponding data of target property information deletion action when, by the corresponding data storage of the target property information beyond the clouds In;
Removing module, for deleting the corresponding data of the target property information from the terminal.
In embodiments of the present invention, in order to vacate more idle memory spaces to terminal, terminal needs will be from terminal The corresponding data of target property information of user's selection are deleted, but terminal is corresponding in the target property information for deleting user's selection Before data, terminal need first by the corresponding data storage of target property information beyond the clouds in, to realize to target property information Corresponding data backup, then corresponding data of delete target attribute information from terminal again.
Afterwards, if user needs to use the corresponding data of target property information, terminal can be reacquired from high in the clouds For users to use, such that it is able to avoid the occurrence of, cannot to get target property information corresponding for the corresponding data of target property information Data and and then cannot avoid being made troubles to user, to improve use using the phenomenon of the corresponding data of target property information Experience at family.
Wherein, first acquisition module includes:
Scanning element, for scanning the data stored in the terminal;
Computing unit, for each data for scanning, the data content according to the data calculates the number According to MD5 values;First acquisition unit, for obtaining memory space shared by the Data Identification of the data, the data, described The modification time stamp and the data type of the data of the storage location of data and the data, determining unit, for inciting somebody to action The MD5 values, the Data Identification, the memory space, the storage location, modification time stamp and the data class Type is defined as the attribute information of the data.
In order to be improved while realizing and vacateing the memory space of more free time to terminal more free time are vacateed to terminal The efficiency of memory space, wherein, the scanning element is used for:The terminal storage, shared memory space are scanned more than pre- If the data of capacity-threshold.
In order to the efficiency of the attribute information of the data stored in terminal acquisition terminal after improving is vacateed with improving to terminal The efficiency of more idle memory spaces, further, first acquisition module also includes:
Memory cell, the attribute information for that will determine is stored in the attribute information set for locally pre-setting.
Wherein, first acquisition module includes:
Second acquisition unit, for obtaining the local attribute information set for pre-setting;
3rd acquiring unit, for obtaining each attribute information in the attribute information set.
So as to realize while the attribute information of the data stored in getting terminal, stored in raising acquisition terminal The efficiency of the attribute information of data, and then improve the efficiency of the memory space that more free time are vacateed to terminal.
In order to improve the efficiency of the memory space that more free time are vacateed to terminal, and then raising is enabling the terminal to continue just The efficiency often run.It is required that the data stored in terminal are corresponded with the attribute information of attribute information set storage, That is, when a certain data storage in the terminal when, the attribute information of the data will necessarily be stored in attribute information set;Correspondingly, For each attribute information stored in attribute information set, the corresponding data of the attribute information are necessarily stored in terminal, Therefore, further, first acquisition module also includes:
Unit is deleted, for deleting the target property information in the attribute information set.
Further, described device also includes:
Second acquisition module, for when the terminal is listened to when new data is locally stored, obtaining the new data Attribute information;
Second display module, the attribute information for showing the new data on the screen of the terminal;
Second memory module, for when receive it is that the user is input into according to the attribute information of the new data, be used for When deleting the deletion action of the new data, by new data storage beyond the clouds;
Second removing module, for deleting the new data from the terminal.
Wherein, first display module includes:
Sequencing unit, for the order from large to small of the memory space according to shared by attribute information, to the acquisition Attribute information sequence;
Display unit, for showing the attribute information after sequence on the screen of the terminal.
In this way, after the attribute information that terminal shows acquisition on screen, user searches in the attribute information of display During the attribute information of the larger data of shared memory space, directly can in the original position of attribute information of display To find the attribute information of the larger data of shared memory space,
Without all properties information of successively traversal display, that is, without being looked into one by one in the attribute information of display The attribute information of the larger data of shared memory space is looked for, the lookup time is saved, user is facilitated.
The third aspect, the embodiment of the invention provides a kind of electronic equipment, it is characterised in that the electronic equipment includes:
At least one processor;And,
The memory being connected with least one processor communication;Wherein,
The memory storage has can be by the instruction of one computing device, and the instruction is by described at least one Reason device is performed, so that at least one processor can:
Obtain the attribute information of the data stored in the electronic equipment;
The attribute information is shown on the screen of the electronic equipment;
When receive user be input into according to the attribute information, for deleting the attribute information in target property information During the deletion action of corresponding data, by the corresponding data storage of the target property information beyond the clouds in;
The corresponding data of the target property information are deleted from the terminal.
Fourth aspect, the embodiment of the present invention additionally provides a kind of non-transient computer readable storage medium storing program for executing, described non-transient Computer-readable recording medium is used to store computer instruction, and the computer instruction is used to making the computer to perform above-mentioned the On the one hand the data processing method that any one embodiment is provided.
5th aspect, the embodiment of the present invention additionally provides a kind of computer program product, the computer program product bag Calculation procedure of the storage on non-transient computer readable storage medium storing program for executing is included, the computer program includes programmed instruction, works as institute When stating programmed instruction and being computer-executed, make that the computer performs that above-mentioned any one embodiment of first aspect provides is described Data processing method.
Technical scheme provided in an embodiment of the present invention can include the following benefits:
In embodiments of the present invention, in order to vacate more idle memory spaces to terminal, terminal needs will be from terminal The corresponding data of target property information of user's selection are deleted, but terminal is corresponding in the target property information for deleting user's selection Before data, terminal need first by the corresponding data storage of target property information beyond the clouds in, to realize to target property information Corresponding data backup, then corresponding data of delete target attribute information from terminal again.
Afterwards, if user needs to use the corresponding data of target property information, terminal can be reacquired from high in the clouds For users to use, such that it is able to avoid the occurrence of, cannot to get target property information corresponding for the corresponding data of target property information Data and and then cannot avoid being made troubles to user, to improve use using the phenomenon of the corresponding data of target property information Experience at family.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, not Can the limitation present invention.
Brief description of the drawings
Accompanying drawing herein is merged in specification and constitutes the part of this specification, shows and meets implementation of the invention Example, and be used to explain principle of the invention together with specification.
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, for those of ordinary skill in the art Speech, without having to pay creative labor, can also obtain other accompanying drawings according to these accompanying drawings.
One or more embodiments are illustrative by the picture in corresponding accompanying drawing, these exemplary theorys The bright restriction not constituted to embodiment, the element with same reference numbers label is expressed as similar element in accompanying drawing, removes It is non-to have especially statement, the figure not composition limitation in accompanying drawing.
Fig. 1 is a kind of flow chart of the data processing method according to an exemplary embodiment;
Fig. 2 is a kind of flow chart of the data processing method according to an exemplary embodiment;
Fig. 3 is a kind of flow chart of the data processing method according to an exemplary embodiment;
Fig. 4 is a kind of flow chart of the data processing method according to an exemplary embodiment;
A kind of structural representation of data processing equipments of the Fig. 5 according to an exemplary embodiment;
The structural representation of a kind of electronic equipment of the Fig. 6 according to an exemplary embodiment.
Specific embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in implementation method do not represent and the consistent all implementation methods of the present invention.Conversely, they be only with it is such as appended The example of the consistent apparatus and method of some aspects being described in detail in claims, of the invention.
Fig. 1 is a kind of flow chart of the data processing method according to an exemplary embodiment, as shown in figure 1, the party Method is used in terminal, and the method is comprised the following steps.
In step S101, the attribute information of the data stored in terminal is obtained;
In embodiments of the present invention, the data for being stored in terminal include video, picture, music and application program installation kit Etc. data.
The attribute information of data includes:MD5 (the Message Digest Algorithm 5, Message Digest 5 of data 5th edition) value, the Data Identification of data, the shared memory space of data, the storage location in the terminal of data, in terminal The modification time stamp of middle modification data and the data type of data etc..
Wherein, the MD5 values of data are calculated using the data content of hash function pair data.When two data When data content is different, the MD5 values of the two data are different.
In embodiments of the present invention, due to the limited storage space in terminal, in order to avoid the number of storing excess in terminal According to and memory space excessive in occupied terminal, and then influence normal operation of terminal, terminal can be obtained periodically in terminal The attribute information of the data of storage, then performs step S102, or, whenever starting up of terminal, terminal is deposited in just obtaining terminal The attribute information of the data of storage, then performs step S102.
In step s 102, the attribute information of acquisition is shown on the screen of terminal;
After the attribute information that terminal will be obtained includes on the screen of terminal, user can be according to the attribute of display letter The data that breath selection can be deleted.
In step s 103, when receive user according to display attribute information be input into, for delete display attribute letter During the deletion action of the corresponding data of target property information in breath, by the corresponding data storage of target property information beyond the clouds In;
In embodiments of the present invention, when user determines the data that can be deleted according to the attribute information of display, user The attribute information selection operation of the data that selection user determines can be in the terminal input into, and be input into the terminal for deleting The deletion instruction of the corresponding data of attribute information of selection;When terminal receives the deletion to be instructed, terminal will select user The corresponding data storage of attribute information selected beyond the clouds in, then perform step S104.
In step S104, the corresponding data of delete target attribute information from terminal.
In embodiments of the present invention, in order to vacate more idle memory spaces to terminal, terminal needs will be from terminal The corresponding data of target property information of user's selection are deleted, but terminal is corresponding in the target property information for deleting user's selection Before data, terminal need first by the corresponding data storage of target property information beyond the clouds in, to realize to target property information Corresponding data backup, then corresponding data of delete target attribute information from terminal again.
Afterwards, if user needs to use the corresponding data of target property information, terminal can be reacquired from high in the clouds For users to use, such that it is able to avoid the occurrence of, cannot to get target property information corresponding for the corresponding data of target property information Data and and then cannot avoid being made troubles to user, to improve use using the phenomenon of the corresponding data of target property information Experience at family.
In an alternative embodiment of the invention, referring to Fig. 2, step S101 includes:
In step s 201, the data for being stored in end of scan;
In step S202, for each data for scanning, the data content according to the data calculates the data MD5 values;Then memory space shared by the Data Identification of the data, the data, the storage location of the data, the data are obtained The data type of modification time stamp and the data;And by the MD5 values, the Data Identification, the memory space, the storage location, Modification time stamp and the data type are defined as the attribute information of the data.
In this step, for any one data for scanning, the MD5 of the data is calculated in the data content of the data , it is necessary to first the data content of the data is loaded onto in the internal memory of terminal during value, then according to MD5 algorithms to the data of the data Content is calculated, and obtains the MD5 values of the data, same for other each data for scanning.
Under normal circumstances, it is the less data of shared memory space, example to have many data in the data for being stored in terminal Such as a few KB~tens KB, or hundreds of KB etc..
The purpose of the embodiment of the present invention is in order to vacate the memory space of more free time to terminal, however, being stored in terminal Contribution of the shared less data of memory space to vacateing the memory spaces of more free time to terminal it is smaller, and, will be shared The data content of the less data of memory space be loaded onto in the internal memory of terminal and to calculate shared memory space less The process of the MD5 values of data can expend a period of time, and respectively by the number of the less data of memory space shared by each The process of the MD5 values for being loaded onto in the internal memory of terminal according to content and calculating the shared less data of memory space respectively can consume Take the substantial amounts of time.
It is thus desirable to take considerable time the memory space that more free time could be vacateed to terminal, reduce and risen to terminal Go out the efficiency of the memory space of more free time.
And the larger data of the shared memory space that stores in embodiments of the present invention, only in terminal just can be to end The contribution that the memory space of more free time is vacateed at end is larger, therefore, in step s 201, that terminal can be stored with end of scan, Shared memory space is more than the data of default memory space threshold value, without the less data of memory space shared by scanning, And the data content of the shared less data of memory space will not be loaded onto in the internal memory of terminal and shared by calculating The MD5 values of the less data of memory space, thus realize to terminal vacate it is more free time memory space while improve to Terminal vacates the efficiency of the memory space of more free time.
In embodiments of the present invention, terminal can periodically obtain the attribute information of the data stored in terminal, or often When starting up of terminal, terminal will obtain the attribute information of the data stored in terminal.
If the attribute information that terminal obtains the data stored in terminal each time will be according to the embodiment shown in Fig. 2 Mode is obtained, because in the mode of embodiment illustrated in fig. 2, the data stored in end of scan are that scanning is stored in the terminal Data in hard disk, the access speed of terminal access hard disk is slower, and the data content of the data that will be scanned is loaded onto internal memory In the process of the MD5 values of the data content of data that is loaded onto in internal memory of process and calculating can expend for a period of time, cause Terminal needs to consume a longer time the attribute information that can just get the data stored in terminal, and then causes to be deposited in acquisition terminal The attribute information of the data of storage it is less efficient, reduce further to terminal vacate it is more free time memory spaces efficiency.
Therefore, for the efficiency of the attribute information of the data of storage in terminal acquisition terminal after improving, to improve to eventually The efficiency of the memory space of more free time is vacateed at end.
After step S202, terminal needs the attribute information that will be determined storage in the attribute letter for locally pre-setting In breath set.
In this way, if terminal needs to obtain the attribute information of the data stored in terminal afterwards, terminal is without according to Fig. 2 institutes The data stored in the mode end of scan of the embodiment shown, the data content of the data without that will scan is loaded onto in internal memory And without calculating the MD5 values of the data content of the data being loaded onto in internal memory, terminal can be believed from local direct access attribute Breath set, then obtains each attribute information in attribute information set, so as to realize the number stored in terminal is got According to attribute information while, improve the efficiency of the attribute information for obtaining the data stored in terminal, and then improve and risen to terminal Go out the efficiency of the memory space of more free time.
In embodiments of the present invention, after the corresponding data of delete target attribute information from terminal, terminal local is just In the absence of the corresponding data of target property information.
However, also there is target property information in the attribute information set that pre-sets of terminal local, if not dependence Delete target attribute information in information aggregate, if memory space idle in terminal after then it is less and insufficient for terminal Can normally run, terminal will again obtain the attribute information of the data stored in terminal, and be shown on the screen of terminal, For user's attribute information that selection can be deleted from the attribute information of display, the attribute information that then terminal selects user Corresponding data are deleted.Wherein, it is current obtain terminal in store data attribute information when, terminal can from it is local directly Attribute information set is obtained, each attribute information in attribute information set is then obtained.
But, attribute information set includes target property information, that is, the attribute that user shows on the screen of terminal Can be appreciated that target property information in information, what user will take for that terminal local also stores has the corresponding number of target property information According to.
As long as to enable terminal if if now vacateing the memory space shared by the corresponding data of target property information Enough normal operations, then in order to avoid deleting more data, in the attribute information that user can show on the screen of terminal only Selection target attribute information, so that the corresponding data of terminal delete target attribute information.
However, terminal local is now and in the absence of the corresponding data of target property information, therefore, terminal cannot perform deletion The operation of the corresponding data of target property information, then, terminal cannot be just vacateed shared by the corresponding data of target property information Memory space, terminal also just cannot normally be run.
User can only reacquire the attribute information of the data stored in terminal and in the screen of terminal by control terminal again Upper display, user's other attribute informations again from the attribute information shown on the screen of terminal in addition to target property information, Then corresponding data of other attribute informations that terminal deletion is locally stored, until empty to the storage that terminal vacates more free time Between untill, but this reduces the efficiency of the memory spaces that more free time are vacateed to terminal, and then reduce and enable the terminal to Continue the efficiency of normal operation.
Therefore, the efficiency of more idle memory spaces is vacateed to terminal in order to improve, and then raising is enabled the terminal to Continue the efficiency of normal operation.It is required that a pair of the attribute information one of data and attribute information the set storage stored in terminal Should, that is, when a certain data storage in the terminal when, the attribute information of the data will necessarily be stored in attribute information set;Phase Ying Di, for each attribute information stored in attribute information set, the corresponding data of the attribute information are necessarily stored in end In end.
So, after the target property information corresponding data from terminal deletion, also just without continuing in attribute information The target property information stored in set, therefore, on the basis of the embodiment shown in Fig. 2 of the present invention, deleted from terminal Except after the corresponding data of target property information, it is necessary in attribute information set delete target attribute information.
Further, in still another embodiment of the process, referring to Fig. 3, the method also includes:
In step S301, when terminal is listened to when new data is locally stored, the attribute information of new data is obtained;
In embodiments of the present invention, terminal can in real time monitor terminal in the new data that locally whether is stored with, once monitor Go out the new data that is stored with, in order to avoid the excessive memory space of new data occupied terminal to influence normal operation of terminal, it is necessary to obtain The attribute information of new data is taken, step S302 is then performed.
Wherein, the specific acquisition modes of the attribute information of new data can participate in embodiment as shown in Figure 2, not do herein Describe in detail.
In step s 302, the attribute information of new data is shown on the screen of terminal;
After the attribute information that terminal shows new data on screen, user can see the category of new data on screen Property information, and according to the attribute information of new data decide whether from terminal delete new data attribute information.
In step S303, when receive it is that user is input into according to the attribute information of new data, for deleting new data During deletion action, by new data storage beyond the clouds;
In embodiments of the present invention, when user determines to need to delete new data from terminal according to the attribute information of new data Attribute information when, that user can be input into according to the attribute information of new data, deletion action for deleting new data, example Such as, user can in the terminal be input into the selection operation of the attribute information for selecting new data, then click on the screen of terminal The deletion button of upper offer, when terminal receives the selection operation of user input and clicks on the clicking operation of the deletion button When, it is determined that receiving the deletion action, then terminal will perform step S304 by new data storage beyond the clouds.
In step s 304, new data is deleted from terminal.
So as to realize being vacateed the memory space of more free time to terminal.
On the basis of the embodiment shown in Fig. 2 of the invention, in still another embodiment of the process, referring to Fig. 4, step S102 includes:
In step S401, memory space according to shared by attribute information order from large to small, to the category for obtaining Property information sorting;
Memory space wherein, shared by the MD5 values of the attribute information of data including data, the Data Identification of data, data, The data type of described storage location, described modification time stamp and data.
The shared less data of memory space stored in terminal to terminal to vacateing more idle memory spaces Contribution is smaller, and the shared memory space stored in terminal larger data are to vacateing the memory spaces of more free time to terminal Contribution is larger, avoids deleting excessive data, user to be tried one's best while the memory space of more free time is vacateed to terminal The larger data of shared memory space are often deleted from terminal manually, that is, these attributes obtained in step S101 In information, user understands the attribute information of the larger data of memory space shared by active prioritizing selection.
User finds the larger number of memory space shared by memory space as early as possible from these attribute informations for convenience According to attribute information, in embodiments of the present invention, can according to attribute information include shared by memory space by greatly extremely Small order, the attribute information sequence to obtaining;Then acquisition is shown simultaneously according to the order after sequence on the screen of terminal Attribute information.
In this way, after the attribute information that terminal shows acquisition on screen, user searches in the attribute information of display During the attribute information of the larger data of shared memory space, directly can in the original position of attribute information of display To find the attribute information of the larger data of shared memory space, without all properties information of priority traversal display, That is, without searching the attribute information of the larger data of shared memory space one by one in the attribute information of display, save Lookup time, facilitate user.
In step S402, the attribute information after sequence is shown on the screen of terminal.
Fig. 5 is a kind of structural representation of the data processing equipment according to an exemplary embodiment.Reference picture 5, should Device includes:
First acquisition module 11, the attribute information for obtaining the data stored in the terminal;
First display module 12, for showing the attribute information on the screen of the terminal;
Memory module 13, for when receive user be input into according to the attribute information, for deleting the attribute information In the corresponding data of target property information deletion action when, by the corresponding data storage of the target property information beyond the clouds In;
Removing module 14, for deleting the corresponding data of the target property information from the terminal.
In embodiments of the present invention, in order to vacate more idle memory spaces to terminal, terminal needs will be from terminal The corresponding data of target property information of user's selection are deleted, but terminal is corresponding in the target property information for deleting user's selection Before data, terminal need first by the corresponding data storage of target property information beyond the clouds in, to realize to target property information Corresponding data backup, then corresponding data of delete target attribute information from terminal again.
Afterwards, if user needs to use the corresponding data of target property information, terminal can be reacquired from high in the clouds For users to use, such that it is able to avoid the occurrence of, cannot to get target property information corresponding for the corresponding data of target property information Data and and then cannot avoid being made troubles to user, to improve use using the phenomenon of the corresponding data of target property information Experience at family.
Wherein, first acquisition module 11 includes:
Scanning element, for scanning the data stored in the terminal;
Computing unit, for each data for scanning, the data content according to the data calculates the number According to MD5 values;First acquisition unit, for obtaining memory space shared by the Data Identification of the data, the data, described The modification time stamp and the data type of the data of the storage location of data and the data, determining unit, for inciting somebody to action The MD5 values, the Data Identification, the memory space, the storage location, modification time stamp and the data class Type is defined as the attribute information of the data.
In order to be improved while realizing and vacateing the memory space of more free time to terminal more free time are vacateed to terminal The efficiency of memory space, wherein, the scanning element is used for:The terminal storage, shared memory space are scanned more than pre- If the data of capacity-threshold.
In order to the efficiency of the attribute information of the data stored in terminal acquisition terminal after improving is vacateed with improving to terminal The efficiency of more idle memory spaces, further, first acquisition module 11 also includes:
Memory cell, the attribute information for that will determine is stored in the attribute information set for locally pre-setting.
Wherein, first acquisition module 11 includes:
Second acquisition unit, for obtaining the local attribute information set for pre-setting;
3rd acquiring unit, for obtaining each attribute information in the attribute information set.
So as to realize while the attribute information of the data stored in getting terminal, stored in raising acquisition terminal The efficiency of the attribute information of data, and then improve the efficiency of the memory space that more free time are vacateed to terminal.
In order to improve the efficiency of the memory space that more free time are vacateed to terminal, and then raising is enabling the terminal to continue just The efficiency often run.It is required that the data stored in terminal are corresponded with the attribute information of attribute information set storage, That is, when a certain data storage in the terminal when, the attribute information of the data will necessarily be stored in attribute information set;Correspondingly, For each attribute information stored in attribute information set, the corresponding data of the attribute information are necessarily stored in terminal, Therefore, further, first acquisition module 11 also includes:
Unit is deleted, for deleting the target property information in the attribute information set.
Further, described device also includes:
Second acquisition module, for when the terminal is listened to when new data is locally stored, obtaining the new data Attribute information;
Second display module, the attribute information for showing the new data on the screen of the terminal;
Second memory module, for when receive it is that the user is input into according to the attribute information of the new data, be used for When deleting the deletion action of the new data, by new data storage beyond the clouds;
Second removing module, for deleting the new data from the terminal.
Wherein, first display module includes:
Sequencing unit, for the order from large to small of the memory space according to shared by attribute information, to the acquisition Attribute information sequence;
Display unit, for showing the attribute information after sequence on the screen of the terminal.
In this way, after the attribute information that terminal shows acquisition on screen, user searches in the attribute information of display During the attribute information of the larger data of shared memory space, directly can in the original position of attribute information of display To find the attribute information of the larger data of shared memory space,
Without all properties information of successively traversal display, that is, without being looked into one by one in the attribute information of display The attribute information of the larger data of shared memory space is looked for, the lookup time is saved, user is facilitated.
The embodiment of the present application provides a kind of non-transient computer storage medium, and the computer-readable storage medium is stored with meter Calculation machine executable instruction, the computer executable instructions can perform the data processing method in above-mentioned any means embodiment.
One of ordinary skill in the art will appreciate that all or part of flow in realizing above-described embodiment method, can be The hardware of correlation is instructed to complete by computer program, described program can be stored in a computer read/write memory medium In, the program is upon execution, it may include the flow of the embodiment of each data processing method as described above.Wherein, described storage Medium can be magnetic disc, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random AccessMemory, RAM) etc..
Fig. 6 is a kind of structural representation of the electronic equipment of the configuration for executing data processing according to an exemplary embodiment Figure, as shown in fig. 6, the electronic equipment includes:
One or more processors 610 and memory 620, in Fig. 6 by taking a processor 610 as an example.
The electronic equipment of configuration for executing data processing can also include:Input unit 630 and output device 640.
Processor 610, memory 620, input unit 630 and output device 640 can be by bus or other modes Connection, in Fig. 6 as a example by being connected by bus.
Memory 620 can be used to store non-volatile software journey as a kind of non-volatile computer readable storage medium storing program for executing Sequence, non-volatile computer executable program and module, such as corresponding program of the data processing method in the embodiment of the present application Instruction/module is (for example, the first acquisition module 11, the first display module 12, memory module 13 and deletion mould shown in accompanying drawing 5 Block).Processor 610 is by running the non-volatile software program stored in memory 620, instructing and module, so as to hold The various function application of row server and data processing, that is, realize the data processing method shown in above method embodiment.
Memory 620 can include storing program area and storage data field, wherein, storing program area can store operation system Application program required for system, at least one function;Storage data field can be stored and created according to using for data processing equipment Data etc..Additionally, memory 620 can include high-speed random access memory, nonvolatile memory, example can also be included Such as at least one disk memory, flush memory device or other non-volatile solid state memory parts.In certain embodiments, deposit Reservoir 620 is optional including the memory remotely located relative to processor 610, and these remote memories can be by network connection To data processing equipment.The example of above-mentioned network includes but is not limited to internet, intranet, LAN, mobile radio communication And combinations thereof.
Input unit 630 can receive the numeral or character information of input, and generation sets with the user of data processing equipment Put and the input of key signals that function control is relevant.Output device 640 may include the display devices such as display screen.
One or more of modules are stored in the memory 620, when by one or more of processors During 610 execution, the data processing method shown in above-mentioned any means embodiment is performed.
The method that the executable the embodiment of the present application of the said goods is provided, possesses the corresponding functional module of execution method and has Beneficial effect.Not ins and outs of detailed description in the present embodiment, reference can be made to the method that the embodiment of the present application is provided.
The electronic equipment of the embodiment of the present application exists in a variety of forms, including but not limited to:
(1) mobile communication equipment:The characteristics of this kind equipment is that possess mobile communication function, and to provide speech, data It is main target to communicate.This Terminal Type includes:Smart mobile phone (such as iPhone), multimedia handset, feature mobile phone, and it is low End mobile phone etc..
(2) super mobile personal computer equipment:This kind equipment belongs to the category of personal computer, there is calculating and treatment work( Can, typically also possess mobile Internet access characteristic.This Terminal Type includes:PDA, MID and UMPC equipment etc., such as iPad.
(3) portable entertainment device:This kind equipment can show and play content of multimedia.The kind equipment includes:Audio, Video player (such as iPod), handheld device, e-book, and intelligent toy and portable car-mounted navigation equipment.
(4) server:The equipment for providing the service of calculating, the composition of server includes that processor, hard disk, internal memory, system are total Line etc., server is similar with general computer architecture, but due to needing to provide highly reliable service, therefore in treatment energy The requirement of the aspects such as power, stability, reliability, security, scalability, manageability is higher.
(5) other have the electronic installation of data interaction function.
Device embodiment described above is only schematical, wherein the unit illustrated as separating component can To be or may not be physically separate, the part shown as unit can be or may not be physics list Unit, you can with positioned at a place, or can also be distributed on multiple NEs.It can according to the actual needs be selected In some or all of module realize the purpose of this embodiment scheme.
Through the above description of the embodiments, those skilled in the art can be understood that each implementation method can Realized by the mode of software plus general hardware platform, naturally it is also possible to by hardware.Based on such understanding, above-mentioned technology The part that scheme substantially contributes to correlation technique in other words can be embodied in the form of software product, the computer Software product can be stored in a computer-readable storage medium, and such as ROM/RAM, magnetic disc, CD, including some instructions are used to So that computer equipment (can be personal computer, server, or network equipment etc.) perform each embodiment or Method described in some parts of embodiment.
Finally it should be noted that:Above example is only used to illustrate the technical scheme of the application, rather than its limitations;Although The application has been described in detail with reference to the foregoing embodiments, it will be understood by those within the art that:It still may be used Modified with to the technical scheme described in foregoing embodiments, or equivalent is carried out to which part technical characteristic; And these modification or replace, do not make appropriate technical solution essence depart from each embodiment technical scheme of the application spirit and Scope.

Claims (11)

1. a kind of data processing method, is applied to terminal, it is characterised in that methods described includes:
Obtain the attribute information of the data stored in the terminal;
The attribute information is shown on the screen of the terminal;
When receive user be input into according to the attribute information, for deleting the attribute information in target property information correspondingly Data deletion action when, by the corresponding data storage of the target property information beyond the clouds in;
The corresponding data of the target property information are deleted from the terminal.
2. method according to claim 1, it is characterised in that the attribute letter of the data stored in the acquisition terminal Breath, including:
Scan the data stored in the terminal;
For each data for scanning, the data content according to the data calculates the MD5 values of the data;Obtain described During the modification of memory space, the storage location of the data and the data shared by the Data Identification of data, the data Between stamp and the data data type, by the MD5 values, the Data Identification, the memory space, the storage Put, modification time stamp and the data type are defined as the attribute information of the data.
3. method according to claim 2, it is characterised in that the data stored in the scanning terminal, including:
Scan the terminal storage, shared data of the memory space more than pre-set space threshold value;
Wherein, it is described to show the attribute information on the screen of the terminal, including:
Memory space according to shared by attribute information order from large to small, the attribute information sequence to the acquisition;
The attribute information after sequence is shown on the screen of the terminal.
4. according to the method in claim 2 or 3, it is characterised in that it is described by the MD5 values, it is the Data Identification, described Shared memory space, the storage location, modification time stamp and the data type are defined as the attribute of the data After information, also include:
The attribute information that will be determined is stored in the attribute information set for locally pre-setting;
Wherein, the attribute information for obtaining the data stored in the terminal, including:
Obtain the local attribute information set for pre-setting;
Obtain each attribute information in the attribute information set;
Further, it is described delete the corresponding data of the target property information from the terminal after, also include:
The target property information is deleted in the attribute information set.
5. method according to claim 1, it is characterised in that methods described also includes:
When the terminal is listened to when new data is locally stored, the attribute information of the new data is obtained;
The attribute information of the new data is shown on the screen of the terminal;
Grasped when deletion that the user is input into according to the attribute information of the new data, for deleting the new data is received When making, by new data storage beyond the clouds;
The new data is deleted from the terminal.
6. a kind of data processing equipment, is applied to terminal, it is characterised in that described device includes:
First acquisition module, the attribute information for obtaining the data stored in the terminal;
First display module, for showing the attribute information on the screen of the terminal;
Memory module, for when receive user be input into according to the attribute information, for deleting the mesh in the attribute information During the deletion action of the mark corresponding data of attribute information, by the corresponding data storage of the target property information beyond the clouds in;
Removing module, for deleting the corresponding data of the target property information from the terminal.
7. device according to claim 6, it is characterised in that first acquisition module includes:
Scanning element, for scanning the data stored in the terminal;
Computing unit, for each data for scanning, the data content according to the data calculates the data MD5 values;First acquisition unit, for obtaining memory space, the data shared by the Data Identification of the data, the data Storage location and the data modification time stamp and the data type of the data, determining unit, for will be described MD5 values, the Data Identification, the memory space, the storage location, modification time stamp and the data type are true It is set to the attribute information of the data.
8. device according to claim 7, it is characterised in that the scanning element is used for:Scan the terminal storage, Data of the shared memory space more than pre-set space threshold value;
Wherein, first display module includes:
Sequencing unit, for the order from large to small of the memory space according to shared by attribute information, to the category of the acquisition Property information sorting;
Display unit, for showing the attribute information after sequence on the screen of the terminal.
9. the device according to claim 7 or 8, it is characterised in that first acquisition module also includes:
Memory cell, the attribute information for that will determine is stored in the attribute information set for locally pre-setting;
Wherein, first acquisition module includes:
Second acquisition unit, for obtaining the local attribute information set for pre-setting;
3rd acquiring unit, for obtaining each attribute information in the attribute information set;
Further, first acquisition module also includes:
Unit is deleted, for deleting the target property information in the attribute information set.
10. device according to claim 6, it is characterised in that described device also includes:
Second acquisition module, for when the terminal is listened to when new data is locally stored, obtaining the attribute of the new data Information;
Second display module, the attribute information for showing the new data on the screen of the terminal;
Second memory module, for when receive it is that the user is input into according to the attribute information of the new data, for deleting During the deletion action of the new data, by new data storage beyond the clouds;
Second removing module, for deleting the new data from the terminal.
11. a kind of electronic equipment, it is characterised in that the electronic equipment includes:
At least one processor;And,
The memory being connected with least one processor communication;Wherein,
The memory storage has can be by the instruction of one computing device, and the instruction is by least one processor Perform, so that at least one processor can:
Obtain the attribute information of the data stored in the electronic equipment;
The attribute information is shown on the screen of the electronic equipment;
When receive user be input into according to the attribute information, for deleting the attribute information in target property information correspondingly Data deletion action when, by the corresponding data storage of the target property information beyond the clouds in;
The corresponding data of the target property information are deleted from the terminal.
CN201611097105.9A 2016-12-02 2016-12-02 Data processing method, device and electronic equipment Pending CN106815283A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611097105.9A CN106815283A (en) 2016-12-02 2016-12-02 Data processing method, device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611097105.9A CN106815283A (en) 2016-12-02 2016-12-02 Data processing method, device and electronic equipment

Publications (1)

Publication Number Publication Date
CN106815283A true CN106815283A (en) 2017-06-09

Family

ID=59105970

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611097105.9A Pending CN106815283A (en) 2016-12-02 2016-12-02 Data processing method, device and electronic equipment

Country Status (1)

Country Link
CN (1) CN106815283A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108170560A (en) * 2017-12-27 2018-06-15 上海传英信息技术有限公司 Data back up method and terminal
CN109117316A (en) * 2018-09-25 2019-01-01 Oppo广东移动通信有限公司 A kind of data managing method, data administrator and mobile terminal
CN110308871A (en) * 2019-05-09 2019-10-08 成都明图通科技有限公司 A kind of data managing method and device
CN111258821A (en) * 2020-03-23 2020-06-09 重庆忽米网络科技有限公司 Backup data rapid extraction method based on cloud computing

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103079001A (en) * 2012-12-27 2013-05-01 东莞宇龙通信科技有限公司 Method and device for displaying information of deleted contact by using mobile terminal
CN104092656A (en) * 2014-04-10 2014-10-08 鸿富锦精密工业(深圳)有限公司 Mobile terminal, and data transmission system and method
CN104408064A (en) * 2014-10-29 2015-03-11 中国建设银行股份有限公司 Data storage method and device
CN104636475A (en) * 2015-02-13 2015-05-20 小米科技有限责任公司 Method and device for optimizing multimedia file storage space
CN104899049A (en) * 2014-03-04 2015-09-09 北京金山安全软件有限公司 File deletion method and device
CN105989102A (en) * 2015-02-12 2016-10-05 广东欧珀移动通信有限公司 Method and device for deleting backup data
CN106095793A (en) * 2016-05-30 2016-11-09 百度在线网络技术(北京)有限公司 The method and apparatus of management mobile terminal memory space

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103079001A (en) * 2012-12-27 2013-05-01 东莞宇龙通信科技有限公司 Method and device for displaying information of deleted contact by using mobile terminal
CN104899049A (en) * 2014-03-04 2015-09-09 北京金山安全软件有限公司 File deletion method and device
CN104092656A (en) * 2014-04-10 2014-10-08 鸿富锦精密工业(深圳)有限公司 Mobile terminal, and data transmission system and method
CN104408064A (en) * 2014-10-29 2015-03-11 中国建设银行股份有限公司 Data storage method and device
CN105989102A (en) * 2015-02-12 2016-10-05 广东欧珀移动通信有限公司 Method and device for deleting backup data
CN104636475A (en) * 2015-02-13 2015-05-20 小米科技有限责任公司 Method and device for optimizing multimedia file storage space
CN106095793A (en) * 2016-05-30 2016-11-09 百度在线网络技术(北京)有限公司 The method and apparatus of management mobile terminal memory space

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108170560A (en) * 2017-12-27 2018-06-15 上海传英信息技术有限公司 Data back up method and terminal
CN109117316A (en) * 2018-09-25 2019-01-01 Oppo广东移动通信有限公司 A kind of data managing method, data administrator and mobile terminal
CN110308871A (en) * 2019-05-09 2019-10-08 成都明图通科技有限公司 A kind of data managing method and device
CN111258821A (en) * 2020-03-23 2020-06-09 重庆忽米网络科技有限公司 Backup data rapid extraction method based on cloud computing
CN111258821B (en) * 2020-03-23 2023-08-18 重庆忽米网络科技有限公司 Cloud computing-based backup data rapid extraction method

Similar Documents

Publication Publication Date Title
CN109947498B (en) Application program preloading method and device, storage medium and mobile terminal
US8943164B2 (en) Apparatus and methods for retrieving/ downloading content on a communication device
CN109426428B (en) Method for providing operation guidance information of terminal and terminal equipment
CN103246529B (en) Update and push the method, apparatus and system of navigation bar
JP2020504865A (en) Application data processing method, apparatus, and storage medium
CN108055264A (en) Dispatching device, method and the computer readable storage medium of stream pushing server
CN107038044A (en) The discrete loading method of game resource and system based on Unity3D
CN106815283A (en) Data processing method, device and electronic equipment
CN104427404A (en) Video segment extraction and play methods and devices
CN104808892A (en) Application icon ordering method, device, system and associated equipment
CN108205451A (en) application management method, device, storage medium and electronic equipment
CN105468707A (en) Cache-based data processing method and device
CN107967358A (en) Recommendation method, apparatus, storage medium and the mobile terminal of objective
CN104410660A (en) Method and device of downloading multimedia resources as well as router and server
CN106155789A (en) A kind of application freezing method and mobile terminal
CN103136348A (en) File display method and device
CN105279236A (en) File cleaning method and device and electronic equipment
CN104219561A (en) Method and user equipment for cleaning offline videos
CN109144652A (en) A kind of view display methods, device, electronic equipment and storage medium
CN108228776A (en) Data processing method, device, storage medium and electronic equipment
CN111367922B (en) Data updating method and related equipment
CN106815042A (en) The dynamic loading method of refresh page, device and electronic equipment
CN107968807A (en) Automatically update the method and device of local cache resource
CN103634032A (en) Data transferring method and system and mobile terminal
CN110928397A (en) User interface refreshing method and device, storage medium and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170609