CN106649850A - Data automatic deleting method and device - Google Patents

Data automatic deleting method and device Download PDF

Info

Publication number
CN106649850A
CN106649850A CN201611257284.8A CN201611257284A CN106649850A CN 106649850 A CN106649850 A CN 106649850A CN 201611257284 A CN201611257284 A CN 201611257284A CN 106649850 A CN106649850 A CN 106649850A
Authority
CN
China
Prior art keywords
data
target data
automatically deleted
identification information
message
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
CN201611257284.8A
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.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen 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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201611257284.8A priority Critical patent/CN106649850A/en
Publication of CN106649850A publication Critical patent/CN106649850A/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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention provides a data automatic deleting method and device. The data automatic deleting method comprises the following steps: detecting whether target data meets a preset condition which comprises a condition that preset identification information is stored in the target data; judging whether the target data is failure data if the preset condition is met; automatically deleting the target data if the target data is failure data. By adopting the scheme, when the preset identification information is stored in the target data and the target data is failure data, the target data is automatically deleted, memory is cleared, complicated manual operation is canceled, the user demand is properly met, and the method has more humanized user experience.

Description

A kind of data auto-deleted method and device
Technical field
The present invention relates to field of terminal technology, more particularly to a kind of data auto-deleted method and device.
Background technology
In daily life, the mobile phone of user is often stored with picture, the information with identifying code, mail etc., day product After the moon is tired, a large amount of these pictures, information, mails etc. can be stored in mobile phone, to delete these data, can only be manually Mode is deleted, cumbersome, poor user experience.
The content of the invention
The invention mainly solves the technical problem of, there is provided a kind of data auto-deleted method and device, solve existing skill In art, user's mode manually deletes data, cumbersome problem.
To solve above-mentioned technical problem, the present invention provides a kind of data auto-deleted method, including:
Detection target data whether meet pre-conditioned, it is pre-conditioned including exist in target data it is default identification letter Breath;
If meeting pre-conditioned, judge whether target data is fail data;
If fail data, then target data is automatically deleted.
Wherein, it is pre-conditioned also to include:There is the identification information of the last application opened in target data.
Wherein, also include:The corresponding relation of configuration target data and identification information;
Include with the presence or absence of default identification information in detection target data:According to corresponding relation, target data pair is inquired about The identification information answered;With the presence or absence of the identification information for inquiring in detection target data.
Wherein, target data includes:Any one or more in message, mail, picture, video, audio frequency.
Wherein, if target data includes message, identification information corresponding with target data includes:Identifying code, check code, Any one or more in check code, the Arabic numerals string of predetermined number.
Wherein, detect target data in whether meet it is pre-conditioned before, also including in the following manner generate data from It is dynamic to delete trigger event:
Default setting interface is generated and shown, interface is set and is automatically deleted open function item including data;
Receive user is automatically deleted the trigger action of open function item interface is arranged to data;
Generate data and be automatically deleted trigger event.
Wherein, judge whether target data is that fail data includes:Judge whether target data is stale data.
Wherein, judge whether target data is that stale data includes:
Obtain the term of validity of target data, and calculate target data self-generating or time of receipt (T of R) to current time when It is long;
Judge whether target data is stale data according to duration and the term of validity;
If duration is more than or equal to the term of validity, judge that target data is stale data.
To solve above-mentioned technical problem, the present invention provides a kind of data and is automatically deleted device, including:
Detection module, it is pre-conditioned to exist including in target data for detecting it is pre-conditioned whether target data meets Default identification information;
Judge module, if pre-conditioned for meeting, judges whether target data is fail data;
Removing module, if for fail data, being then automatically deleted target data.
Wherein, it is pre-conditioned also to include:There is the identification information of the last application opened in target data.
Wherein, also include:
Configuration module, for configuring the corresponding relation of target data and identification information;
Detection module is specifically for according to corresponding relation, the corresponding identification information of inquiry target data;Detection target data In with the presence or absence of the identification information that inquires.
Wherein, also including generation module, for detection module detection target data whether meet it is pre-conditioned before, pass through In the following manner generates data and is automatically deleted trigger event:
Default setting interface is generated and shown, interface is set and is automatically deleted open function item including data;
Receive user is automatically deleted the trigger action of open function item interface is arranged to data;
Generate data and be automatically deleted trigger event.
Wherein, judge module is specifically for judging whether target data is stale data.
Wherein, judge module includes:
Acquisition module, for obtaining the term of validity of target data;
Computing module, for calculating target data self-generating or time of receipt (T of R) to the duration of current time;
Judging submodule, for judging whether target data is stale data according to duration and the term of validity;If duration is more than Or equal to the term of validity, then judge that target data is stale data.
A kind of data auto-deleted method provided according to the present invention and device, the data auto-deleted method includes detection It is pre-conditioned whether target data meets, pre-conditioned including there is default identification information in target data;If meeting default Condition, then judge whether target data is fail data;If fail data, then target data is automatically deleted;Using above-mentioned side Case, when there is default identification information in target data, and target data is when being fail data, then be automatically deleted, and clears up Internal memory, and eliminate loaded down with trivial details manually operated, user's request has been better met, there is a more humane Consumer's Experience.
Description of the drawings
Fig. 1 is a kind of flow chart of data auto-deleted method that the embodiment of the present invention one is provided;
Fig. 2 is the schematic diagram that a kind of data that the embodiment of the present invention two is provided are automatically deleted device;
Fig. 3 is a kind of schematic diagram of terminal that the embodiment of the present invention three is provided;
Fig. 4 is the schematic diagram of another kind of terminal that the embodiment of the present invention four is provided.
Specific embodiment
It should be appreciated that specific embodiment described herein is only used for explaining the present invention, it is not used to limit this It is bright.
Terminal described in the present invention may include the terminals such as smart mobile phone, notebook computer, PAD (panel computer).Below Accompanying drawing is combined by specific embodiment to be described in further detail the present invention.
Embodiment one
The present embodiment provides a kind of data auto-deleted method, referring to Fig. 1, a kind of data that Fig. 1 is provided for the present embodiment The flow chart of auto-deleted method, the data auto-deleted method is comprised the following steps:
S101:Whether detection target data meets pre-conditioned, pre-conditioned including there is default knowledge in target data Other information.
Wherein, target data includes:Any one or more in message, mail, picture, video, audio frequency.
Wherein, if target data includes message and/or mail, identification information corresponding with target data includes:Test Any one or more in card code, check code, check code, the Arabic numerals string of predetermined number.
Predetermined number can be 4,6 etc..
It is exemplary, after terminal receives a piece of news, detect in the message with the presence or absence of keyword " identifying code ", " check code " and/or " check code ", and/or detect in the message with the presence or absence of 4 or 6 Arabic numerals.
Wherein, if target data includes picture, identification information corresponding with target data can be picture validation code etc.; If target data includes video, identification information corresponding with target data can be logo (trade mark) etc.;If target data Including audio frequency, identification information corresponding with target data can be that content includes " identifying code ", " check code " and/or " check code " Deng one section recording.
Target data can be that terminal itself is generated, and for example user's using terminal shoots the picture for obtaining;Can also be What is received is sent by exterior terminal, the message that for example sent by exterior terminal.
Wherein, it is pre-conditioned also to include:There is the identification information of the last application opened in target data.
Exemplary, after terminal receives a piece of news, detect and whether there is in the message 4 or 6 Arab Numeral, and the title of application that user finally opened just now is identical with the title of the application in the message.
Optionally, the data auto-deleted method also includes:
The corresponding relation of configuration target data and identification information;
Include with the presence or absence of default identification information in detection target data:According to corresponding relation, target data pair is inquired about The identification information answered;With the presence or absence of the identification information for inquiring in detection target data.
Exemplary, it is pre-configured with the corresponding relation of message and keyword " identifying code ", configuration mail and keyword " checking The corresponding relation of code ", configures the corresponding relation of picture and picture validation code;
When a piece of news is received, according to the corresponding relation being pre-configured with, the corresponding identification information of inquiry outbound message is Keyword " identifying code ";With the presence or absence of the keyword " identifying code " for inquiring in the message that detection is received;
When a pictures are received, according to the corresponding relation being pre-configured with, inquiring the corresponding identification information of picture is Picture validation code;With the presence or absence of the picture validation code for inquiring in the pictures that detection is received.
Optionally, before S101, also it is automatically deleted trigger event including generation data in the following manner:
Default setting interface is generated and shown, interface is set and is automatically deleted open function item including data;
Receive user is automatically deleted the trigger action of open function item interface is arranged to data;
Generate data and be automatically deleted trigger event.
Optionally, arranging interface can also be automatically deleted closing function item including data, when receiving to the closing function The trigger action of item, then close data and be automatically deleted function.
S102:If meeting pre-conditioned, judge whether target data is fail data.
Wherein, judge whether target data is that fail data includes:Judge whether target data is stale data.
If target data is stale data, may determine that for target data be fail data.
Wherein, judge whether target data is that stale data includes:
Obtain the term of validity of target data, and calculate target data self-generating or time of receipt (T of R) to current time when It is long;
Judge whether target data is stale data according to duration and the term of validity;
If duration is more than or equal to the term of validity, judge that target data is stale data.
Wherein, the mode for obtaining the term of validity of message can be comprising any one in following two modes:
Mode one, the extraction from message;
Mode two, obtain each term of validity using corresponding identifying code message.
S103:If fail data, then target data is automatically deleted.
For example, if the term of validity of message is one month, when keyword " identifying code " is included in a piece of news for receiving, connect When the time for receiving the message is before one month, then the message is automatically deleted.
Below example is further described for a specific example to this programme.
It is pre-configured with the corresponding relation of message and keyword " identifying code ", " check code " or " check code ".
Show that message arranges interface, message arranges interface and is automatically deleted open function item including data;Then user clicks on Data are automatically deleted open function item.
Terminal receives a piece of news, and according to the corresponding relation being pre-configured with, the corresponding identification information of inquiry outbound message is Keyword " identifying code ", " check code " or " check code ";With the presence or absence of the pass for inquiring in the message that detection is received Key word " identifying code ", " check code " or " check code ";The result for detecting is the presence of the keyword for inquiring in the message " identifying code ".
The term of validity of the message is obtained, the term of validity for getting is one month, and calculate the message and received certainly Time to current time when a length of one month, then may determine that the message for stale data, is then automatically deleted the message.
By the enforcement of the present embodiment, when there is default identification information in target data, and target data is failure number According to when, then be automatically deleted, clean up internal memory, and eliminate loaded down with trivial details manually operated, better met user's request, have More humane Consumer's Experience.
Embodiment two
The present embodiment provides a kind of data and is automatically deleted device, refers to Fig. 2, a kind of number that Fig. 2 is provided for the present embodiment According to the schematic diagram for being automatically deleted device, the data are automatically deleted device to be included:Detection module 201, judge module 202, deletion mould Block 203, wherein,
Detection module 201, it is pre-conditioned including depositing in target data for detecting it is pre-conditioned whether target data meets In default identification information.
Wherein, target data includes:Any one or more in message, mail, picture, video, audio frequency.
Wherein, if target data includes message and/or mail, identification information corresponding with target data includes:Test Any one or more in card code, check code, check code, the Arabic numerals string of predetermined number.
Predetermined number can be 4,6 etc..
It is exemplary, after terminal receives a piece of news, detect in the message with the presence or absence of keyword " identifying code ", " check code " and/or " check code ", and/or detect in the message with the presence or absence of 4 or 6 Arabic numerals.
Wherein, if target data includes picture, identification information corresponding with target data can be picture validation code etc.; If target data includes video, identification information corresponding with target data can be logo (trade mark) etc.;If target data Including audio frequency, identification information corresponding with target data can be that content includes " identifying code ", " check code " and/or " check code " Deng one section recording.
Target data can be that terminal itself is generated, and for example user's using terminal shoots the picture for obtaining;Can also be What is received is sent by exterior terminal, the message that for example sent by exterior terminal.
Wherein, it is pre-conditioned also to include:There is the identification information of the last application opened in target data.
Exemplary, after terminal receives a piece of news, detect and whether there is in the message 4 or 6 Arab Numeral, and the title of application that user finally opened just now is identical with the title of the application in the message.
Optionally, the data are automatically deleted device and also include:
Configuration module 204, for configuring the corresponding relation of target data and identification information;
Detection module 201 is specifically for according to corresponding relation, the corresponding identification information of inquiry target data;Detection number of targets With the presence or absence of the identification information for inquiring according in.
Exemplary, it is pre-configured with the corresponding relation of message and keyword " identifying code ", configuration mail and keyword " checking The corresponding relation of code ", configures the corresponding relation of picture and picture validation code;
When a piece of news is received, according to the corresponding relation being pre-configured with, the corresponding identification information of inquiry outbound message is Keyword " identifying code ";With the presence or absence of the keyword " identifying code " for inquiring in the message that detection is received;
When a pictures are received, according to the corresponding relation being pre-configured with, inquiring the corresponding identification information of picture is Picture validation code;With the presence or absence of the picture validation code for inquiring in the pictures that detection is received.
Optionally, the data are automatically deleted device also includes generation module 205, and for detection module 201 number of targets is detected According to whether meet it is pre-conditioned before, data are generated in the following manner and are automatically deleted trigger event:
Default setting interface is generated and shown, interface is set and is automatically deleted open function item including data;
Receive user is automatically deleted the trigger action of open function item interface is arranged to data;
Generate data and be automatically deleted trigger event.
Optionally, arranging interface can also be automatically deleted closing function item including data, when receiving to the closing function The trigger action of item, then close data and be automatically deleted function.
Judge module 202, if pre-conditioned for meeting, judges whether target data is fail data.
Wherein, judge module 202 is specifically for judging whether target data is stale data.If target data was issue According to then may determine that for target data be fail data.
Wherein, judge module 202 includes:
Acquisition module 2021, for obtaining the term of validity of target data;
Wherein, the mode for obtaining the term of validity of message can be comprising any one in following two modes:
Mode one, the extraction from message;
Mode two, obtain each term of validity using corresponding identifying code message;
Computing module 2022, for calculating target data self-generating or time of receipt (T of R) to the duration of current time;
Judging submodule 2023, for judging whether target data is stale data according to duration and the term of validity;If duration More than or equal to the term of validity, then judge that target data is stale data.
Removing module 203, if for fail data, being then automatically deleted target data.
For example, if the term of validity of message is one month, when keyword " identifying code " is included in a piece of news for receiving, connect When the time for receiving the message is before one month, then the message is automatically deleted.
Below example is further described for a specific example to this programme.
It is pre-configured with the corresponding relation of message and keyword " identifying code ", " check code " or " check code ".
Show that message arranges interface, message arranges interface and is automatically deleted open function item including data;Then user clicks on Data are automatically deleted open function item.
Terminal receives a piece of news, and according to the corresponding relation being pre-configured with, the corresponding identification information of inquiry outbound message is Keyword " identifying code ", " check code " or " check code ";With the presence or absence of the pass for inquiring in the message that detection is received Key word " identifying code ", " check code " or " check code ";The result for detecting is the presence of the keyword for inquiring in the message " identifying code ".
The term of validity of the message is obtained, the term of validity for getting is one month, and calculate the message and received certainly Time to current time when a length of one month, then may determine that the message for stale data, is then automatically deleted the message.
By the enforcement of the present embodiment, when there is default identification information in target data, and target data is failure number According to when, then be automatically deleted, clean up internal memory, and eliminate loaded down with trivial details manually operated, better met user's request, have More humane Consumer's Experience.
Embodiment three
The present embodiment provides a kind of terminal, referring to Fig. 3, a kind of schematic diagram of terminal that Fig. 3 is provided for the present embodiment, and the end End includes that the data in embodiment two are automatically deleted device.
Whether terminal detection target data meets pre-conditioned, pre-conditioned including there is default identification in target data Information.
Wherein, target data includes:Any one or more in message, mail, picture, video, audio frequency.
Wherein, if target data includes message and/or mail, identification information corresponding with target data includes:Test Any one or more in card code, check code, check code, the Arabic numerals string of predetermined number.
Predetermined number can be 4,6 etc..
It is exemplary, after terminal receives a piece of news, detect in the message with the presence or absence of keyword " identifying code ", " check code " and/or " check code ", and/or detect in the message with the presence or absence of 4 or 6 Arabic numerals.
Wherein, if target data includes picture, identification information corresponding with target data can be picture validation code etc.; If target data includes video, identification information corresponding with target data can be logo (trade mark) etc.;If target data Including audio frequency, identification information corresponding with target data can be that content includes " identifying code ", " check code " and/or " check code " Deng one section recording.
Target data can be that terminal itself is generated, and for example user's using terminal shoots the picture for obtaining;Can also be What is received is sent by exterior terminal, the message that for example sent by exterior terminal.
Wherein, it is pre-conditioned also to include:There is the identification information of the last application opened in target data.
Exemplary, after terminal receives a piece of news, detect and whether there is in the message 4 or 6 Arab Numeral, and the title of application that user finally opened just now is identical with the title of the application in the message.
Optionally, also include:
Terminal configures the corresponding relation of target data and identification information;
Include with the presence or absence of default identification information in detection target data:According to corresponding relation, target data pair is inquired about The identification information answered;With the presence or absence of the identification information for inquiring in detection target data.
Exemplary, it is pre-configured with the corresponding relation of message and keyword " identifying code ", configuration mail and keyword " checking The corresponding relation of code ", configures the corresponding relation of picture and picture validation code;
When a piece of news is received, according to the corresponding relation being pre-configured with, the corresponding identification information of inquiry outbound message is Keyword " identifying code ";With the presence or absence of the keyword " identifying code " for inquiring in the message that detection is received;
When a pictures are received, according to the corresponding relation being pre-configured with, inquiring the corresponding identification information of picture is Picture validation code;With the presence or absence of the picture validation code for inquiring in the pictures that detection is received.
Optionally, terminal detection target data whether meet it is pre-conditioned before, also including generating in the following manner Data are automatically deleted trigger event:
Default setting interface is generated and shown, interface is set and is automatically deleted open function item including data;
Receive user is automatically deleted the trigger action of open function item interface is arranged to data;
Generate data and be automatically deleted trigger event.
Optionally, arranging interface can also be automatically deleted closing function item including data, when receiving to the closing function The trigger action of item, then close data and be automatically deleted function.
If meeting pre-conditioned, whether terminal judges target data is fail data.
Wherein, judge whether target data is that fail data includes:Judge whether target data is stale data.
If target data is stale data, may determine that for target data be fail data.
Wherein, judge whether target data is that stale data includes:
Obtain the term of validity of target data, and calculate target data self-generating or time of receipt (T of R) to current time when It is long;
Judge whether target data is stale data according to duration and the term of validity;
If duration is more than or equal to the term of validity, judge that target data is stale data.
Wherein, the mode for obtaining the term of validity of message can be comprising any one in following two modes:
Mode one, the extraction from message;
Mode two, obtain each term of validity using corresponding identifying code message.
If fail data, then terminal is automatically deleted target data.
For example, if the term of validity of message is one month, when keyword " identifying code " is included in a piece of news for receiving, connect When the time for receiving the message is before one month, then the message is automatically deleted.
Below example is further described for a specific example to this programme.
It is pre-configured with the corresponding relation of message and keyword " identifying code ", " check code " or " check code ".
Show that message arranges interface, message arranges interface and is automatically deleted open function item including data;Then user clicks on Data are automatically deleted open function item.
Terminal receives a piece of news, and according to the corresponding relation being pre-configured with, the corresponding identification information of inquiry outbound message is Keyword " identifying code ", " check code " or " check code ";With the presence or absence of the pass for inquiring in the message that detection is received Key word " identifying code ", " check code " or " check code ";The result for detecting is the presence of the keyword for inquiring in the message " identifying code ".
The term of validity of the message is obtained, the term of validity for getting is one month, and calculate the message and received certainly Time to current time when a length of one month, then may determine that the message for stale data, is then automatically deleted the message.
By the enforcement of the present embodiment, when there is default identification information in target data, and target data is failure number According to when, then be automatically deleted, clean up internal memory, and eliminate loaded down with trivial details manually operated, better met user's request, have More humane Consumer's Experience.
Example IV
Data auto-deleted method in for the ease of preferably implementing embodiment one, present embodiments provides for implementing The terminal of the data auto-deleted method in embodiment one, referring to Fig. 4, a kind of signal of terminal that Fig. 4 is provided for the present embodiment Figure;The terminal includes processor 401, memory 402;
Memory 402 can store software program for the process and control operation performed by processor 401 etc., Huo Zheke With the data (for example, telephone directory, message, still image, video etc.) for temporarily storing own Jing outputs or will export.And And, memory 402 can be storing the vibration of various modes with regard to exporting when touching and being applied to touch-screen and audio signal Data.
Memory 402 can include the storage medium of at least one type, and storage medium includes flash memory, hard disk, multimedia Card, card-type memory (for example, SD or DX memories etc.), random access storage device (RAM), static random-access memory (SRAM), read-only storage (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc..And, terminal can perform depositing for memory 402 with by network connection The network storage device cooperation of storage function.
Processor 401 generally performs the overall operation of terminal.For example processor 401 perform with voice call, data communication, The related control of video calling etc. and process.
The internal memory of memory 402 contain multiple instruction to realize embodiment one in data auto-deleted method, processor 401 Perform multiple instruction to realize:
Detection target data whether meet pre-conditioned, it is pre-conditioned including exist in target data it is default identification letter Breath.
Wherein, target data includes:Any one or more in message, mail, picture, video, audio frequency.
Wherein, if target data includes message and/or mail, identification information corresponding with target data includes:Test Any one or more in card code, check code, check code, the Arabic numerals string of predetermined number.
Predetermined number can be 4,6 etc..
It is exemplary, after terminal receives a piece of news, detect in the message with the presence or absence of keyword " identifying code ", " check code " and/or " check code ", and/or detect in the message with the presence or absence of 4 or 6 Arabic numerals.
Wherein, if target data includes picture, identification information corresponding with target data can be picture validation code etc.; If target data includes video, identification information corresponding with target data can be logo (trade mark) etc.;If target data Including audio frequency, identification information corresponding with target data can be that content includes " identifying code ", " check code " and/or " check code " Deng one section recording.
Target data can be that terminal itself is generated, and for example user's using terminal shoots the picture for obtaining;Can also be What is received is sent by exterior terminal, the message that for example sent by exterior terminal.
Wherein, it is pre-conditioned also to include:There is the identification information of the last application opened in target data.
Exemplary, after terminal receives a piece of news, detect and whether there is in the message 4 or 6 Arab Numeral, and the title of application that user finally opened just now is identical with the title of the application in the message.
Optionally, also include:
The corresponding relation of configuration target data and identification information;
Include with the presence or absence of default identification information in detection target data:According to corresponding relation, target data pair is inquired about The identification information answered;With the presence or absence of the identification information for inquiring in detection target data.
Exemplary, it is pre-configured with the corresponding relation of message and keyword " identifying code ", configuration mail and keyword " checking The corresponding relation of code ", configures the corresponding relation of picture and picture validation code;
When a piece of news is received, according to the corresponding relation being pre-configured with, the corresponding identification information of inquiry outbound message is Keyword " identifying code ";With the presence or absence of the keyword " identifying code " for inquiring in the message that detection is received;
When a pictures are received, according to the corresponding relation being pre-configured with, inquiring the corresponding identification information of picture is Picture validation code;With the presence or absence of the picture validation code for inquiring in the pictures that detection is received.
Optionally, detection target data whether meet it is pre-conditioned before, also including generating data in the following manner It is automatically deleted trigger event:
Default setting interface is generated and shown, interface is set and is automatically deleted open function item including data;
Receive user is automatically deleted the trigger action of open function item interface is arranged to data;
Generate data and be automatically deleted trigger event.
Optionally, arranging interface can also be automatically deleted closing function item including data, when receiving to the closing function The trigger action of item, then close data and be automatically deleted function.
If meeting pre-conditioned, judge whether target data is fail data.
Wherein, judge whether target data is that fail data includes:Judge whether target data is stale data.
If target data is stale data, may determine that for target data be fail data.
Wherein, judge whether target data is that stale data includes:
Obtain the term of validity of target data, and calculate target data self-generating or time of receipt (T of R) to current time when It is long;
Judge whether target data is stale data according to duration and the term of validity;
If duration is more than or equal to the term of validity, judge that target data is stale data.
Wherein, the mode for obtaining the term of validity of message can be comprising any one in following two modes:
Mode one, the extraction from message;
Mode two, obtain each term of validity using corresponding identifying code message.
If fail data, then target data is automatically deleted.
For example, if the term of validity of message is one month, when keyword " identifying code " is included in a piece of news for receiving, connect When the time for receiving the message is before one month, then the message being stored in memory 402 is automatically deleted.
Below example is further described for a specific example to this programme.
Processor 401 is pre-configured with the corresponding relation of message and keyword " identifying code ", " check code " or " check code ".
Show that message arranges interface, message arranges interface and is automatically deleted open function item including data;Then user clicks on Data are automatically deleted open function item.
Terminal receives a piece of news, and according to the corresponding relation being pre-configured with, the corresponding identification information of inquiry outbound message is Keyword " identifying code ", " check code " or " check code ";With the presence or absence of the pass for inquiring in the message that detection is received Key word " identifying code ", " check code " or " check code ";The result for detecting is the presence of the keyword for inquiring in the message " identifying code ".
The term of validity of the message is obtained, the term of validity for getting is one month, and calculate the message and received certainly Time to current time when a length of one month, then may determine that the message for stale data, is then automatically deleted and is stored in The message in reservoir 402.
By the enforcement of the present embodiment, when there is default identification information in target data, and target data is failure number According to when, then be automatically deleted, clean up internal memory, and eliminate loaded down with trivial details manually operated, better met user's request, have More humane Consumer's Experience.
Obviously, those skilled in the art should be understood that each module or each step of the embodiments of the present invention can be used Realizing, they can be concentrated on single computing device general computing device, or be distributed in multiple computing device institutes On the network of composition, alternatively, they can be realized with the executable program code of computing device, it is thus possible to by they It is stored in storage medium (ROM/RAM, magnetic disc, CD) and is performed by computing device, and in some cases, can be with not The order being same as herein performs shown or described step, or they are fabricated to respectively each integrated circuit modules, or Multiple modules or step in them are fabricated to single integrated circuit module to realize by person.So, the present invention is not restricted to appoint What specific hardware and software is combined.
Above content is to combine the further description that specific embodiment is made to the embodiment of the present invention, it is impossible to recognized Being embodied as of the fixed present invention is confined to these explanations.For general technical staff of the technical field of the invention, Without departing from the inventive concept of the premise, some simple deduction or replace can also be made, the present invention should be all considered as belonging to Protection domain.

Claims (14)

1. a kind of data auto-deleted method, it is characterised in that include:
Detection target data whether meet pre-conditioned, it is described it is pre-conditioned including exist in target data it is default identification letter Breath;
If meeting described pre-conditioned, judge whether the target data is fail data;
If fail data, then the target data is automatically deleted.
2. data auto-deleted method as claimed in claim 1, it is characterised in that described pre-conditioned also to include:Number of targets According to the middle identification information that there is the last application opened.
3. data auto-deleted method as claimed in claim 1, it is characterised in that also include:Configuration target data and identification The corresponding relation of information;
Include with the presence or absence of default identification information in the detection target data:According to the corresponding relation, the mesh is inquired about The corresponding identification information of mark data;Detect in the target data with the presence or absence of the identification information for inquiring.
4. data auto-deleted method as claimed in claim 3, it is characterised in that the target data includes:Message, postal Any one or more in part, picture, video, audio frequency.
5. data auto-deleted method as claimed in claim 4, it is characterised in that if the target data includes message, Identification information corresponding with the target data includes:Identifying code, check code, check code, the Arabic numerals string of predetermined number In any one or more.
6. data auto-deleted method as claimed in claim 1, it is characterised in that whether meet in the detection target data Before pre-conditioned, also trigger event is automatically deleted including generation data in the following manner:
Generate and show default setting interface, the setting interface is automatically deleted open function item including data;
Receive user is automatically deleted the trigger action of open function item at the setting interface to the data;
Generate the data and be automatically deleted trigger event.
7. the data auto-deleted method as described in any one of claim 1 to 6, it is characterised in that the judgement target Whether data are that fail data includes:Judge whether the target data is stale data.
8. data auto-deleted method as claimed in claim 7, it is characterised in that described to judge that whether the target data is Stale data includes:
The term of validity of the target data is obtained, and the calculating target data self-generating or time of receipt (T of R) arrive current time Duration;
Judge whether the target data is stale data according to the duration and the term of validity;
If the duration is more than or equal to the term of validity, judge the target data for stale data.
9. a kind of data are automatically deleted device, it is characterised in that include:
Detection module, it is described pre-conditioned including presence in target data for detecting it is pre-conditioned whether target data meets Default identification information;
Judge module, if described pre-conditioned for meeting, judges whether the target data is fail data;
Removing module, if for fail data, being then automatically deleted the target data.
10. data as claimed in claim 9 are automatically deleted device, it is characterised in that described pre-conditioned also to include:Number of targets According to the middle identification information that there is the last application opened.
11. data as claimed in claim 9 are automatically deleted device, it is characterised in that also include:
Configuration module, for configuring the corresponding relation of target data and identification information;
The detection module is specifically for according to the corresponding relation, inquiring about the corresponding identification information of the target data;Detection With the presence or absence of the identification information for inquiring in the target data.
12. data as claimed in claim 9 are automatically deleted device, it is characterised in that also including generation module, for the inspection Survey module detection target data whether meet it is pre-conditioned before, in the following manner generate data be automatically deleted trigger event:
Generate and show default setting interface, the setting interface is automatically deleted open function item including data;
Receive user is automatically deleted the trigger action of open function item at the setting interface to the data;
Generate the data and be automatically deleted trigger event.
13. data as described in any one of claim 9 to 12 are automatically deleted device, it is characterised in that the judge module tool Body is used to judge whether the target data is stale data.
14. data as claimed in claim 13 are automatically deleted device, it is characterised in that the judge module includes:
Acquisition module, for obtaining the term of validity of the target data;
Computing module, for calculating the target data self-generating or time of receipt (T of R) to the duration of current time;
Judging submodule, for judging whether the target data is stale data according to the duration and the term of validity;If The duration is more than or equal to the term of validity, then judge the target data for stale data.
CN201611257284.8A 2016-12-30 2016-12-30 Data automatic deleting method and device Pending CN106649850A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611257284.8A CN106649850A (en) 2016-12-30 2016-12-30 Data automatic deleting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611257284.8A CN106649850A (en) 2016-12-30 2016-12-30 Data automatic deleting method and device

Publications (1)

Publication Number Publication Date
CN106649850A true CN106649850A (en) 2017-05-10

Family

ID=58838930

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611257284.8A Pending CN106649850A (en) 2016-12-30 2016-12-30 Data automatic deleting method and device

Country Status (1)

Country Link
CN (1) CN106649850A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107330068A (en) * 2017-06-30 2017-11-07 联想(北京)有限公司 A kind of document handling method and electronic equipment
CN107819944A (en) * 2017-10-27 2018-03-20 北京小米移动软件有限公司 Delet method, device, equipment and the storage medium of short message
CN112148158A (en) * 2019-06-28 2020-12-29 深圳迈瑞生物医疗电子股份有限公司 Information processing method, information processing apparatus, and computer storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104219378A (en) * 2014-07-31 2014-12-17 小米科技有限责任公司 Information processing method and device
CN104615656A (en) * 2014-12-31 2015-05-13 小米科技有限责任公司 Image classification method and device
CN104935735A (en) * 2015-05-20 2015-09-23 深圳市万普拉斯科技有限公司 Information deletion method and information deletion system
CN105516944A (en) * 2015-12-21 2016-04-20 小米科技有限责任公司 Short message canceling method and device
CN106170004A (en) * 2016-09-23 2016-11-30 北京小米移动软件有限公司 Process the method and device of identifying code
CN106210238A (en) * 2016-07-14 2016-12-07 北京小米移动软件有限公司 short message storage method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104219378A (en) * 2014-07-31 2014-12-17 小米科技有限责任公司 Information processing method and device
CN104615656A (en) * 2014-12-31 2015-05-13 小米科技有限责任公司 Image classification method and device
CN104935735A (en) * 2015-05-20 2015-09-23 深圳市万普拉斯科技有限公司 Information deletion method and information deletion system
CN105516944A (en) * 2015-12-21 2016-04-20 小米科技有限责任公司 Short message canceling method and device
CN106210238A (en) * 2016-07-14 2016-12-07 北京小米移动软件有限公司 short message storage method and device
CN106170004A (en) * 2016-09-23 2016-11-30 北京小米移动软件有限公司 Process the method and device of identifying code

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107330068A (en) * 2017-06-30 2017-11-07 联想(北京)有限公司 A kind of document handling method and electronic equipment
CN107819944A (en) * 2017-10-27 2018-03-20 北京小米移动软件有限公司 Delet method, device, equipment and the storage medium of short message
CN112148158A (en) * 2019-06-28 2020-12-29 深圳迈瑞生物医疗电子股份有限公司 Information processing method, information processing apparatus, and computer storage medium

Similar Documents

Publication Publication Date Title
CN107704497B (en) Webpage data crawling method and device, webpage data crawling platform and storage medium
CN101753674A (en) Incoming call processing method and device of a communication terminal
CN106341313A (en) Method and apparatus for obtaining billing information
CN105589657A (en) Method and device for realizing mounting of mobile storage
CN103220392B (en) A kind of method of automatic recording, device and mobile terminal
US20150365514A1 (en) Method for real time displaying information and mobile communication terminal
CN106649850A (en) Data automatic deleting method and device
US9451423B2 (en) Method and apparatus for recording information during a call
CN106790945A (en) The recording method of call, device and terminal
CN105303714A (en) Code scanning pickup method
CN102143264A (en) Method for storing memo in call and mobile terminal
CN105554137A (en) Backup system and method
CN109885604A (en) Chat messages methods of exhibiting, electronic device and computer readable storage medium
CN106874718B (en) Privacy processing method and device and terminal
CN102594979A (en) Information processing method and device
US20120197924A1 (en) Method and Mobile Terminal for Recycling Short Messages
WO2019144624A1 (en) Method and device for processing call and storage medium
CN105812560A (en) Incoming call management method and mobile terminal
CN103067556A (en) Handling method, terminal and system of privacy information
CN104394258A (en) Method and device for processing contact change of communication object
CN108494765B (en) Account processing method and device and computer readable storage medium
CN110719365A (en) Information processing method, mobile terminal and computer storage medium
CN104601442A (en) Information updating method and device
CN105898053A (en) Communication recording processing device and method and mobile terminal
US11431590B2 (en) Method and device to update contacts

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170510