CN104462596B - Junk data deleting method and system - Google Patents
Junk data deleting method and system Download PDFInfo
- Publication number
- CN104462596B CN104462596B CN201410850489.1A CN201410850489A CN104462596B CN 104462596 B CN104462596 B CN 104462596B CN 201410850489 A CN201410850489 A CN 201410850489A CN 104462596 B CN104462596 B CN 104462596B
- Authority
- CN
- China
- Prior art keywords
- terminal
- rubbish
- junk data
- database
- module
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 31
- 238000012217 deletion Methods 0.000 claims abstract description 51
- 230000037430 deletion Effects 0.000 claims abstract description 51
- 238000004140 cleaning Methods 0.000 claims description 8
- 230000005540 biological transmission Effects 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 14
- 241001269238 Data Species 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/16—File or folder operations, e.g. details of user interfaces specifically adapted to file systems
- G06F16/162—Delete operations
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/17—Details of further file system functions
- G06F16/1737—Details of further file system functions for reducing power consumption or coping with limited storage space, e.g. in mobile devices
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a method and a system for deleting junk data, wherein the method comprises the following steps: if the preset garbage deletion condition is met, the server side reads the pre-stored terminal identifications from the database; the server side sends a garbage deleting instruction to each terminal corresponding to each terminal identification; each terminal receives the garbage deleting instruction; each terminal responds to the garbage deletion instruction to read the garbage identification stored corresponding to each terminal from the database; and each terminal searches and deletes local junk data corresponding to the read junk identification locally. By implementing the invention, the plurality of terminals can automatically delete the local junk data through the single-machine operation on the server, the single-machine operation of deleting the junk data on each terminal is not needed, the time consumption is short, the junk data deleting efficiency is high, and the method is not influenced by regions.
Description
[technical field]
The present invention relates to technical field of data processing, more particularly to a kind of junk data delet method and system.
[background technique]
Can be accumulated with the operation of computer, in computer various registration table junk information, network spam, network trace,
System rubbish file and various software installations/remaining rubbish of unloading institute, it is not only unrestrained with being continuously increased for these junk datas
Take hard disk resources, but also the speed of service of computer can be reduced, influences the daily efficiency using other functions.Current rubbish
Rubbish delet method, which needs to search manually on computers, deletes junk data, or coordinates to delete by third party software.If needing
The junk data of multiple stage computers is wanted, searching deletion junk data manually needs a large amount of inquiry operations, and consuming time is long, efficiency
It is low, when coordinating deletion by third party software and need to start repeatedly operation third party software, and occupying big Installed System Memory and consuming
Between long, low efficiency.
Therefore, operation is complicated, consuming time is long needed for the junk data of above-mentioned rubbish delet method deletion multiple stage computers,
Junk data deletion efficiency is low.
[summary of the invention]
Based on this, it is necessary to it is numerous to delete operation needed for the junk data of multiple stage computers for above-mentioned rubbish delet method
Multiple, the problem of consuming time is long, low efficiency, provides a kind of junk data delet method and system.
A kind of junk data delet method, comprising the following steps:
If meeting preset rubbish deletes condition, server-side reads each terminal iidentification prestored from database;
Server-side sends rubbish to the corresponding each terminal of each terminal iidentification and deletes instruction;
Each terminal receives the rubbish and deletes instruction;
Each terminal responds the rubbish and deletes the rubbish mark that corresponding each terminal storage is read in instruction from the database,
In, the rubbish is identified as each terminal when local junk data is arrived in scanning to the corresponding mark of the database purchase;
Each terminal is locally searching and is deleting local junk data corresponding with the rubbish mark read.
A kind of junk data deletion system, including server-side and each terminal, the server-side include that terminal iidentification reads mould
Block and instruction sending module, each terminal include command reception module, rubbish identity reading module and junk data removing module,
In:
The terminal iidentification read module is used to read and prestore from database when meeting preset rubbish deletion condition
Each terminal iidentification;
Described instruction sending module, which is used to send rubbish to the corresponding each terminal of each terminal iidentification, deletes instruction;
Described instruction receiving module deletes instruction for receiving the rubbish;
The rubbish identity reading module deletes instruction from database reading corresponding each end for responding the rubbish
The rubbish mark of end storage, wherein the rubbish is identified as each terminal when local junk data is arrived in scanning to the database
The corresponding mark of storage;
The junk data removing module is used to search and delete local junk data corresponding with the rubbish mark of reading.
Above-mentioned junk data delet method and system can delete condition meet preset rubbish, by server-side from number
According to each terminal iidentification prestored is read in library, rubbish is sent to the corresponding each terminal of each terminal iidentification and deletes instruction;Make each terminal
Respond the rubbish simultaneously and delete the rubbish mark that corresponding each terminal storage is read in instruction from the database, search and delete with
The corresponding local junk data of the rubbish mark of reading.It can make multiple terminals certainly only by the single-set operation in server-side
It is dynamic to delete local junk data, without delete to each terminal the single-set operation of junk data respectively, expend that the time is short, rubbish
Data deletion efficiency is high, and not by regional impact.
A kind of junk data delet method, comprising the following steps:
Each terminal receives the rubbish that server-side is sent and deletes instruction;
Each terminal responds the rubbish and deletes the rubbish mark that corresponding each terminal storage is read in instruction from the database,
Wherein, the rubbish is identified as each terminal when local junk data is arrived in scanning to the corresponding mark of the database purchase;
Each terminal is locally searching and is deleting local junk data corresponding with the rubbish mark read.
A kind of junk data deletion system, including each terminal, each terminal include:
Command reception module, the rubbish for receiving server-side transmission delete instruction;
Rubbish identity reading module deletes the instruction corresponding each terminal of reading from the database for responding the rubbish
The rubbish of storage identifies, wherein the rubbish is identified as each terminal when local junk data is arrived in scanning to the data inventory
The corresponding mark of storage;
Junk data removing module, for locally searching and deleting local rubbish number corresponding with the rubbish mark read
According to.
Above-mentioned junk data delet method and system, each terminal receive the rubbish that server-side is sent and delete instruction, respond institute
It states rubbish and deletes the rubbish mark for instructing the corresponding each terminal storage of reading from the database, search and delete the rubbish with reading
The corresponding local junk data of rubbish mark.It receives the rubbish that server-side is sent and deletes instruction, multiple terminals can delete automatically simultaneously
Except local junk data, without delete to each terminal the single-set operation of junk data respectively, expend that the time is short, junk data
Deletion efficiency is high, and not by regional impact.
A kind of junk data deletion system, including database, the server-side being connect with the database and respectively with institute
State each terminal that database is connected with the server-side, in which:
Each terminal is for scanning local junk data, if local junk data is arrived in scanning, by the local junk data
The corresponding each terminal storage of rubbish mark into the database;
The server-side is used to read each end prestored from the database when meeting preset rubbish deletion condition
End mark, and send rubbish to the corresponding each terminal of each terminal iidentification and delete instruction;
Each terminal is also used to receive the rubbish and deletes instruction, responds the rubbish and deletes instruction from database reading
The rubbish mark of corresponding each terminal storage is locally searching and is deleting local junk data corresponding with the rubbish mark read.
Above-mentioned junk data deletion system reads each terminal iidentification prestored by server-side from database, to each end
Mark corresponding each terminal in end sends rubbish and deletes instruction;Make each terminal while responding the rubbish deletion instruction from the data
The rubbish mark of corresponding each terminal storage is read in library, is searched and is deleted local junk data corresponding with the rubbish mark read.
Multiple terminals can be made to be automatically deleted local junk data only by the single-set operation in server-side, without respectively to each end
End delete the single-set operation of junk data, expends that the time is short, junk data deletion efficiency is high, and not by regional impact.
[Detailed description of the invention]
Fig. 1 is the structural schematic diagram of junk data deletion system first embodiment of the present invention;
Fig. 2 is the flow diagram of junk data delet method first embodiment of the present invention;
Fig. 3 is the flow diagram of junk data delet method second embodiment of the present invention;
Fig. 4 is the structural schematic diagram of junk data deletion system second embodiment of the present invention;
Fig. 5 is the structural schematic diagram of junk data deletion system third embodiment of the present invention;
Fig. 6 is the flow diagram of junk data delet method third embodiment of the present invention;
Fig. 7 is the structural schematic diagram of the 4th embodiment of junk data deletion system of the present invention.
[specific embodiment]
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention make into
One step it is described in detail.
Referring to Fig. 1, Fig. 1 is the structural schematic diagram of junk data deletion system first embodiment of the invention.
The junk data deletion system of present embodiment, it may include database 1020 is connect with database 1020
Server-side 1010 and each terminal 1030 being connect respectively with database 1020 and server-side 1010, in which:
Each terminal 1030 is for scanning local junk data, if local junk data is arrived in scanning, by the local rubbish
The corresponding each terminal storage of rubbish mark of data is into database 1020.
Server-side 1010 is used to read each end prestored from database 1020 when meeting preset rubbish deletion condition
End mark, and send rubbish to the corresponding each terminal 1030 of each terminal iidentification and delete instruction.
Each terminal 1030 is also used to receive the rubbish and deletes instruction, responds the rubbish and deletes instruction from database 1020
The rubbish mark that corresponding each terminal 1030 stores is read, is locally searching and is deleting local rubbish corresponding with the rubbish mark read
Rubbish data.
Present embodiment reads each terminal iidentification prestored by server-side from database, corresponding to each terminal iidentification
Each terminal send rubbish delete instruction;Make each terminal while responding the rubbish deletion instruction from database reading correspondence
The rubbish of each terminal storage identifies, and searches and deletes local junk data corresponding with the rubbish mark read.Only by
Single-set operation in server-side can make multiple terminals be automatically deleted local junk data, without deleting respectively each terminal
The single-set operation of junk data, expends that the time is short, junk data deletion efficiency is high, and not by regional impact.
It wherein, can be big well known desktop computer, notebook, personal digital assistant, intelligence electricity for each terminal 1030
The similar devices such as words, tablet computer, portable media player.
Preferably, the local junk data includes registration table junk information, the network spam, network trace in terminal 1030
Mark, system rubbish file, the unloading of various software installations remaining rubbish, temporary file, the file being of little use etc..The rubbish
Mark can for the local junk data uniquely corresponding filename or storage address etc..
Further, terminal 1030 can timing scan local junk data, can intermittent scanning local junk data, can open
Scanned when machine or shutdown local junk data, can also when meeting other preset conditions automatically scanning local junk data.
For database 1020, each terminal 1030 can be corresponded to preset tables of data and stores rubbish mark.It can also be at each end
The terminal iidentification for storing each terminal is established after connection at end 1030 with server-side 1010, to indicate terminal 1030 for rubbish number to be deleted
According to terminal.The terminal iidentification can be address MAC (Media Access Control) of each terminal.
For server-side 1010, it is connect by wired or wireless network with each terminal 1030 and database.
Preferably, settable rubbish deletes interface in server-side 1010, rubbish delete in interface include a key clear up button,
Terminal closedown button and terminal power on button.As user trigger a key clear up button, server-side 1010 can determine that meet it is described pre-
If rubbish delete condition.
Further, the rubbish, which deletes interface, can be equipped with user's logon account and login password, described in user logs in
After rubbish deletes interface, can just corresponding trigger action be executed to each button.
Referring to Fig. 2, Fig. 2 is the flow diagram of junk data delet method first embodiment of the invention.
The junk data delet method of present embodiment is the interaction of server-side and each terminal room, it may include following step
It is rapid:
Step S201, if meeting preset rubbish deletes condition, server-side reads each terminal mark prestored from database
Know.
Step S202, server-side send rubbish to the corresponding each terminal of each terminal iidentification and delete instruction.
Step S203, each terminal receive the rubbish and delete instruction.
Step S204, each terminal respond the rubbish and delete the rubbish that corresponding each terminal storage is read in instruction from the database
Rubbish mark, wherein the rubbish is identified as each terminal when local junk data is arrived in scanning to the correspondence of the database purchase
Mark.
Step S205, each terminal are locally searching and are deleting local junk data corresponding with the rubbish mark read.
Present embodiment can delete condition meet preset rubbish, read and prestored from database by server-side
Each terminal iidentification sends rubbish to the corresponding each terminal of each terminal iidentification and deletes instruction;Make each terminal while responding the rubbish
The rubbish mark for instructing and reading corresponding each terminal storage from the database is deleted, search and is deleted and the rubbish of reading mark pair
The local junk data answered.Multiple terminals can be made to be automatically deleted local rubbish number only by the single-set operation in server-side
According to, without delete to each terminal the single-set operation of junk data respectively, expend that the time is short, junk data deletion efficiency is high,
And not by regional impact.
Wherein, for step S201, it is preferable that it can be to detect that user is clear to a key that the preset rubbish, which deletes condition,
The trigger event of button is managed, preset terminal rubbish erasing time can be reached for the system time of server-side, can also be this field
Other usual preset conditions of technical staff.
Preferably, the corresponding each terminal storage connecting with server-side of the database has the terminal iidentification of each terminal, described
Terminal iidentification can be address MAC (Media Access Control) of each terminal.
In one embodiment, if meeting preset rubbish deletes condition, server-side reads each terminal from database
The step of terminal iidentification, is further comprising the steps of:
Server-side obtains the trigger event to key cleaning button.
If server-side gets the trigger event, judgement meets the preset rubbish and deletes condition.
Present embodiment can make multiple terminals be automatically deleted local junk data by the key operation in server-side,
Without delete to each terminal the single-set operation of junk data respectively, expend that the time is short, junk data deletion efficiency is high, and not
By regional impact.
Preferably, cursor or the touch point of button region can be cleared up the trigger event of key cleaning button for a key
Immigration event.
In another embodiment, it includes following step that server-side reads the step of terminal iidentification of each terminal from database
It is rapid:
The terminal iidentification that server-side is prestored from the database lookup.
Whether with the terminal iidentification corresponding rubbish mark is stored in database described in server side searches.
If so, server-side reads the terminal iidentification.
Present embodiment only sends rubbish to the terminal for having rubbish mark in the database and deletes instruction, can avoid nothing
The invalid rubbish delete operation of the terminal of junk data.
For step S202 and step S203, it can be instruction format customary in the art that the rubbish, which deletes instruction,.
For step S204, the rubbish mark can be and local junk data uniquely corresponding filename or the storage
Address etc..Database can correspond to each terminal (MAC Address of such as terminal name or terminal) storage rubbish mark with preset tables of data
Know.
Further, terminal can timing scan local junk data, can intermittent scanning local junk data, can booting or
Scanned when shutdown local junk data, can also when meeting other preset conditions automatically scanning local junk data.
In one embodiment, terminal can delete the rubbish of reading after reading the rubbish mark in database immediately
Mark repeats the rubbish read mark in order to avoid receive after rubbish deletes instruction next time.
In other embodiments, terminal recordable storage time when storing rubbish mark, is deleted receiving rubbish
Newest rubbish can be read according to storage time when reading rubbish mark except instruction to identify, avoid repeating to read.
For step S205, the local junk data includes registration table junk information, network spam, network in terminal
Trace, system rubbish file, the unloading of various software installations remaining rubbish, temporary file, the file being of little use etc..
In one embodiment, it is locally searching in each terminal and is deleting local corresponding with the rubbish mark read
It is further comprising the steps of after the step of junk data:
Server-side obtains the trigger event to terminal closedown button.
If getting the trigger event, server-side broadcasts shutdown command.
Each terminal receives the shutdown command, and responds the shutdown command and carry out terminal closedown.
The present embodiment uniformly makes each terminal automatic shutdown after each terminal carries out rubbish deletion, without after the completion of cleaning
Continue the single-set operation of shutdown to each terminal respectively again.
It preferably, can be cursor or the touch point of terminal closedown button region to the trigger event of terminal closedown button
Immigration event.
Referring to Fig. 3, Fig. 3 is the flow diagram of junk data delet method second embodiment of the invention.
The junk data delet method of present embodiment and the difference of first embodiment are: if meeting described
Before the step of preset rubbish deletes condition, and server-side is from the terminal iidentification for reading each terminal in database, including following step
It is rapid:
Step S301, server-side obtain the trigger event to terminal power on button.
Step S302 broadcasts power-on instruction if server-side gets the trigger event.
The self-powered standby module of step S303, the terminal in off-mode receive the power-on instruction.
Step S304, the self-powered standby module respond the power-on instruction notice terminal for being in off-mode
Power module be that the terminal in off-mode is powered, realize terminal booting.
Present embodiment can make to be in off-mode by the single-set operation of server-side when terminal is in off-mode
Each terminal booting, carry out rubbish deletion.
It preferably, can be cursor or the touch point of terminal power on button region to the trigger event of terminal power on button
Immigration event.The power-on instruction can be a string of 32 numbers, such as 0x3698bafe.
Further, the self-powered standby module carries out certainly when power supply system is no longer terminal power supply from charged pool
Power supply.
Referring to Fig. 4, Fig. 4 is the structural schematic diagram of junk data deletion system second embodiment of the invention.
The junk data deletion system of present embodiment, it may include server-side 2010 and each terminal 2020, server-side
2010 may include terminal iidentification read module 2011 and instruction sending module 2012, and each terminal 2020 may include command reception module
2021, rubbish identity reading module 2022 and junk data removing module 2023, in which:
Terminal iidentification read module 2011 is used to read and prestore from database when meeting preset rubbish deletion condition
Each terminal iidentification.
Instruction sending module 2012, which is used to send rubbish to the corresponding each terminal of each terminal iidentification, deletes instruction.
Command reception module 2021 deletes instruction for receiving the rubbish.
Rubbish identity reading module 2022 deletes instruction from database reading corresponding each end for responding the rubbish
The rubbish mark of end storage, wherein the rubbish is identified as each terminal when local junk data is arrived in scanning to the database
The corresponding mark of storage.
Junk data removing module 2023 is used to search and delete local junk data corresponding with the rubbish mark of reading.
Present embodiment can delete condition meet preset rubbish, read and prestored from database by server-side
Each terminal iidentification sends rubbish to the corresponding each terminal of each terminal iidentification and deletes instruction;Make each terminal while responding the rubbish
The rubbish mark for instructing and reading corresponding each terminal storage from the database is deleted, search and is deleted and the rubbish of reading mark pair
The local junk data answered.Multiple terminals can be made to be automatically deleted local rubbish number only by the single-set operation in server-side
According to, without delete to each terminal the single-set operation of junk data respectively, expend that the time is short, junk data deletion efficiency is high,
And not by regional impact.
Wherein, for identity reading module 2011, it is preferable that it can be to detect user that the preset rubbish, which deletes condition,
To the trigger event of key cleaning button, preset terminal rubbish erasing time can be reached for the system time of server-side, may be used also
For other usual preset conditions of those skilled in the art.
Preferably, the corresponding each terminal storage connecting with server-side of the database has the terminal iidentification of each terminal, described
Terminal iidentification can be address MAC (Media Access Control) of each terminal.
In one embodiment, identity reading module 2011 can also be used in:
Obtain the trigger event to key cleaning button.
If getting the trigger event, judgement meets the preset rubbish and deletes condition.
Present embodiment can make multiple terminals be automatically deleted local junk data by the key operation in server-side,
Without delete to each terminal the single-set operation of junk data respectively, expend that the time is short, junk data deletion efficiency is high, and not
By regional impact.
Preferably, cursor or the touch point of button region can be cleared up the trigger event of key cleaning button for a key
Immigration event.
In another embodiment, identity reading module 2011 can also be used in:
The terminal iidentification prestored from the database lookup.
It searches and whether is stored with rubbish mark corresponding with the terminal iidentification in the database.
If so, reading the terminal iidentification.
Present embodiment only sends rubbish to the terminal for having rubbish mark in the database and deletes instruction, can avoid nothing
The invalid rubbish delete operation of the terminal of junk data.
For instruction sending module 2012 and command reception module 2021, it can be customary in the art that the rubbish, which deletes instruction,
Instruction format.
For rubbish identity reading module 2022, the rubbish mark can be uniquely corresponding with the local junk data
Filename or storage address etc..Database can correspond to each terminal (such as terminal name or the MAC of terminal with preset tables of data
Location) storage rubbish mark.
Further, terminal can timing scan local junk data, can intermittent scanning local junk data, can booting or
Scanned when shutdown local junk data, can also when meeting other preset conditions automatically scanning local junk data.
In one embodiment, rubbish identity reading module 2022 can be after reading the rubbish mark in database
When delete the rubbish mark read, repeat the rubbish mark that had read in order to avoid receive after rubbish deletes instruction next time
Know.
In other embodiments, terminal recordable storage time when storing rubbish mark, is deleted receiving rubbish
Newest rubbish can be read according to storage time when reading rubbish mark except instruction to identify, avoid repeating to read.
For junk data removing module 2023, the local junk data include registration table junk information in terminal,
Network spam, network trace, system rubbish file, the unloading of various software installations remaining rubbish, temporary file, be of little use
File etc..
In one embodiment, server-side 2010 further includes that shutdown event obtains module and shutdown command broadcast module, respectively
Terminal 2020 further includes shutdown module, in which:
Shutdown event obtains module and is used to obtain the trigger event to terminal closedown button.
Shutdown command broadcast module is used for when getting the trigger event, broadcasts shutdown command.
Shutdown module responds the shutdown command and carries out terminal closedown for receiving the power-on instruction.
The present embodiment uniformly makes each terminal automatic shutdown after each terminal carries out rubbish deletion, without after the completion of cleaning
Continue the single-set operation of shutdown to each terminal respectively again.
It preferably, can be cursor or the touch point of terminal closedown button region to the trigger event of terminal closedown button
Immigration event.
Referring to Fig. 5, Fig. 5 is the structural schematic diagram of junk data deletion system third embodiment of the invention.
The junk data deletion system of present embodiment and the difference of second embodiment are: server-side 2010 is also
It may include that power-on event obtains module 2013 and power-on instruction broadcast module 2014, it is standby that each terminal 2020 may also include self-powered
Module 2024, in which:
Power-on event obtains module 2013 and is used to obtain the trigger event to terminal power on button.
Power-on instruction broadcast module 2014 is used for when getting the trigger event, broadcasts power-on instruction.
Self-powered standby module 2024 responds the power-on instruction notice in shutdown shape for receiving the power-on instruction
The power module of the terminal of state is that the terminal in off-mode is powered, and realizes terminal booting.
Present embodiment can make to be in off-mode by the single-set operation of server-side when terminal is in off-mode
Each terminal booting, carry out rubbish deletion.
It preferably, can be cursor or the touch point of terminal power on button region to the trigger event of terminal power on button
Immigration event.
Further, self-powered standby module 2024 carries out certainly when power supply system is no longer terminal power supply from charged pool
Power supply.
Referring to Fig. 6, Fig. 6 is the flow diagram of junk data delet method third embodiment of the invention.
The junk data delet method of present embodiment is in each terminal operating, it may include following steps:
Step S601, each terminal receive the rubbish that server-side is sent and delete instruction.
Step S602, each terminal respond the rubbish deletion instruction and read corresponding each terminal storage from the database
Rubbish mark, wherein the rubbish is identified as each terminal when local junk data is arrived in scanning to pair of the database purchase
It should identify.
Step S603, each terminal are locally searching and are deleting local junk data corresponding with the rubbish mark read.
Present embodiment, each terminal receive the rubbish that server-side is sent and delete instruction, respond the rubbish delete instruction from
The rubbish mark that corresponding each terminal storage is read in the database searches and deletes local corresponding with the rubbish mark read
Junk data.It receives the rubbish that server-side is sent and deletes instruction, multiple terminals can be automatically deleted local junk data, nothing simultaneously
Need the single-set operation that delete to each terminal junk data respectively, expend that the time is short, junk data deletion efficiency is high, and not by
Regional impact.
Wherein, step S601, step S602 and step S603 respectively corresponds step S203 shown in Fig. 2, step S204 phase
It should be corresponding with step S205.
In one embodiment, before each terminal receives the step of rubbish that server-side is sent deletes instruction, further include
Following steps:
Each terminal scans local junk data.
If each terminal scanning is to local junk data, by the local junk data corresponding rubbish mark corresponding each end
Database is arrived in end storage.
Preferably, terminal can timing scan local junk data, can intermittent scanning local junk data, can be switched on or close
Scanned when machine local junk data, can also when meeting other preset conditions automatically scanning local junk data.
Further, each terminal scan the step of local junk data the following steps are included:
Each terminal reads respective system time.
When the system time of reading meets preset sweep time, each terminal scans local junk data.
Further, terminal can preset the corresponding rubbish mark of each local junk data, rubbish mark is converted to pre-
If tables of data correspond to each terminal storage to database.When storage can counterpart terminal title or terminal MAC Address storage.
Referring to Fig. 7, Fig. 7 is the structural schematic diagram of the 4th embodiment of junk data deletion system of the invention.
The junk data deletion system of present embodiment, it may include each terminal 4010, each terminal 4010 may include referring to
Enable receiving module 4011, rubbish identity reading module 4012 and junk data removing module 4013, in which:
Command reception module 4011, the rubbish for receiving server-side transmission delete instruction.
Rubbish identity reading module 4012, for responding the rubbish deletion instruction, reading is corresponding each from the database
The rubbish of terminal storage identifies, wherein the rubbish is identified as each terminal when local junk data is arrived in scanning to the data
The corresponding mark of library storage.
Junk data removing module 4013, for locally searching and deleting local rubbish corresponding with the rubbish mark read
Rubbish data.
Present embodiment, each terminal receive the rubbish that server-side is sent and delete instruction, respond the rubbish delete instruction from
The rubbish mark that corresponding each terminal storage is read in the database searches and deletes local corresponding with the rubbish mark read
Junk data.It receives the rubbish that server-side is sent and deletes instruction, multiple terminals can be automatically deleted local junk data, nothing simultaneously
Need the single-set operation that delete to each terminal junk data respectively, expend that the time is short, junk data deletion efficiency is high, and not by
Regional impact.
Wherein, command reception module 4011, rubbish identity reading module 4012 and junk data removing module 4013 are distinguished
It is corresponding to command reception module 2021 shown in Fig. 4, rubbish identity reading module 2022 and junk data removing module 2023.
In one embodiment, each terminal 4010 may also include scan module and memory module, in which:
The scan module is for scanning local junk data.
The memory module is used for when local junk data is arrived in scanning, by the corresponding rubbish mark of the local junk data
Corresponding each terminal storage is known to database.
Wherein, for scan module, terminal can timing scan local junk data, can intermittent scanning local junk data,
Can be scanned in booting or shutdown local junk data, can also when meeting other preset conditions automatically scanning local rubbish number
According to.
Preferably, scan module can timing scan local junk data, can intermittent scanning local junk data, can be switched on
Or scanned when shutdown local junk data, can also when meeting other preset conditions automatically scanning local junk data.
Further, the scan module can also be used in:
Read respective system time.
When the system time of reading meets preset sweep time, each terminal scans local junk data.
Further, memory module can preset the corresponding rubbish mark of each local junk data, and rubbish is identified and is converted
Each terminal storage is corresponded to database for preset tables of data.When storage can the title of counterpart terminal or the MAC Address of terminal deposit
Storage.
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously
Limitations on the scope of the patent of the present invention therefore cannot be interpreted as.It should be pointed out that for those of ordinary skill in the art
For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to guarantor of the invention
Protect range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.
Claims (13)
1. a kind of junk data delet method, which comprises the following steps:
If meeting preset rubbish deletes condition, server-side reads each terminal iidentification prestored from database;
Server-side sends rubbish to the corresponding each terminal of each terminal iidentification and deletes instruction;
Each terminal receives the rubbish and deletes instruction;
Rubbish described in each terminal sync response deletes the rubbish mark that corresponding each terminal storage is read in instruction from the database,
In, the rubbish is identified as each terminal when local junk data is arrived in scanning to unique corresponding mark of the database purchase;
Each terminal is locally searching and is deleting local junk data corresponding with the rubbish mark read;
Server-side the step of each terminal iidentification prestored is read from database the following steps are included:
The terminal iidentification that server-side is prestored from the database lookup;
Whether with the terminal iidentification corresponding rubbish mark is stored in database described in server side searches;
If so, server-side reads the terminal iidentification.
2. junk data delet method according to claim 1, which is characterized in that if meeting preset rubbish deletes item
The step of part, server-side reads each terminal iidentification prestored from database, is further comprising the steps of:
Server-side obtains the trigger event to key cleaning button;
If server-side gets the trigger event, judgement meets the preset rubbish and deletes condition.
3. junk data delet method according to claim 1, which is characterized in that if meeting preset rubbish described and deleting
Except condition, server-side is further comprising the steps of before the step of reading each terminal iidentification prestored in database:
Server-side obtains the trigger event to terminal power on button;
If server-side gets the trigger event, power-on instruction is broadcasted;
The self-powered standby module of terminal in off-mode receives the power-on instruction;
The power module that the self-powered standby module responds the power-on instruction notice terminal in off-mode is
The terminal power supply in off-mode, realizes terminal booting.
4. junk data delet method according to claim 1, which is characterized in that locally searched simultaneously in each terminal
It is further comprising the steps of after the step of deleting local junk data corresponding with the rubbish mark read:
Server-side obtains the trigger event to terminal closedown button;
If server-side gets the trigger event, shutdown command is broadcasted;
Each terminal receives the shutdown command, and responds the shutdown command and carry out terminal closedown.
5. a kind of junk data deletion system, which is characterized in that including server-side and each terminal, the server-side includes terminal mark
Know read module and instruction sending module, each terminal include that command reception module, rubbish identity reading module and junk data are deleted
Except module, in which:
The terminal iidentification read module is used for when meeting preset rubbish and deleting condition, read from database prestore it is each
Terminal iidentification;
Described instruction sending module, which is used to send rubbish to the corresponding each terminal of each terminal iidentification, deletes instruction;
Described instruction receiving module deletes instruction for receiving the rubbish;
The rubbish identity reading module deletes instruction for rubbish described in sync response and reads corresponding each end from the database
The rubbish mark of end storage, wherein the rubbish is identified as each terminal when local junk data is arrived in scanning to the database
Unique corresponding mark of storage;
The junk data removing module is used to search and delete local junk data corresponding with the rubbish mark of reading;
The terminal iidentification read module further includes the first searching module, the second searching module and read module, in which:
First searching module is used for the terminal iidentification prestored from the database lookup;Second searching module is for looking into
It looks in the database and whether is stored with rubbish mark corresponding with the terminal iidentification;
When the read module for being stored with rubbish corresponding with terminal iidentification mark in the database, institute is read
State terminal iidentification.
6. junk data deletion system according to claim 5, which is characterized in that the server-side further includes power-on event
It obtains module and power-on instruction broadcast module, each terminal further includes self-powered standby module, in which:
The power-on event obtains module and is used to obtain the trigger event to terminal power on button;
The power-on instruction broadcast module is used for when getting the trigger event, broadcasts power-on instruction;
The self-powered standby module responds the power-on instruction notice in off-mode for receiving the power-on instruction
The power module of terminal be that the terminal in off-mode is powered, realize terminal booting.
7. junk data deletion system according to claim 5, which is characterized in that the server-side further includes shutdown event
Module and shutdown command broadcast module are obtained, each terminal further includes shutdown module:
The shutdown event obtains module and is used to obtain the trigger event to terminal closedown button;
The shutdown command broadcast module broadcasts shutdown command when getting the trigger event;
The shutdown module responds the shutdown command and carries out terminal closedown for receiving the shutdown command.
8. a kind of junk data delet method, which comprises the following steps:
Each terminal receives the rubbish that server-side is sent and deletes instruction;If it is to meet preset rubbish to delete that the rubbish, which deletes instruction,
Condition, server-side search the terminal iidentification prestored from database;It searches and whether is stored in the database and the terminal
Identify corresponding rubbish mark;If so, reading the terminal iidentification;The finger sent to the corresponding each terminal of each terminal iidentification
It enables;
Rubbish described in each terminal sync response deletes the rubbish mark that corresponding each terminal storage is read in instruction from database,
In, the rubbish is identified as each terminal when local junk data is arrived in scanning to unique corresponding mark of the database purchase;
Each terminal is locally searching and is deleting local junk data corresponding with the rubbish mark read.
9. junk data delet method according to claim 8, which is characterized in that receive what server-side was sent in each terminal
It is further comprising the steps of before rubbish deletes the step of instruction:
Each terminal scans local junk data;
If each terminal scanning deposits the corresponding corresponding each terminal of rubbish mark of the local junk data to local junk data
Store up database.
10. junk data delet method according to claim 9, which is characterized in that each terminal scans local junk data
The step of the following steps are included:
Each terminal reads respective system time;
When the system time of reading meets preset sweep time, each terminal scans local junk data.
11. a kind of junk data deletion system, which is characterized in that including each terminal, each terminal includes:
Command reception module, the rubbish for receiving server-side transmission delete instruction;If it is to meet in advance that the rubbish, which deletes instruction,
If rubbish delete condition, server-side searches the terminal iidentification prestored from database;It searches in the database and whether stores
There is rubbish corresponding with the terminal iidentification to identify;If so, reading the terminal iidentification;To each terminal iidentification corresponding each end
Hold the instruction sent;
Rubbish identity reading module deletes instruction for rubbish described in sync response and reads corresponding each terminal storage from database
Rubbish mark, wherein the rubbish is identified as each terminal when scanning is to local junk data to the database purchase
Unique corresponding mark;
Junk data removing module, for locally searching and deleting local junk data corresponding with the rubbish mark read.
12. junk data deletion system according to claim 11, which is characterized in that further include scan module and storage mould
Block, in which:
The scan module is for scanning local junk data;
The memory module is used for when local junk data is arrived in scanning, and the rubbish mark of the local junk data is corresponding respectively
Terminal storage is into database.
13. a kind of junk data deletion system, which is characterized in that including database, the server-side being connect with the database with
And each terminal being connect respectively with the database and the server-side, in which:
Each terminal is for scanning local junk data, if local junk data is arrived in scanning, by the rubbish of the local junk data
The corresponding each terminal storage of rubbish mark is into the database;
The server-side is used to read each terminal mark prestored from the database when meeting preset rubbish deletion condition
Know, and sends rubbish to the corresponding each terminal of each terminal iidentification and delete instruction;
Each terminal is also used to receive the rubbish and deletes instruction, and rubbish described in sync response is deleted instruction and read from the database
The rubbish mark of corresponding each terminal storage is locally searching and is deleting local junk data corresponding with the rubbish mark read;
Wherein, the rubbish is identified as each terminal when local junk data is arrived in scanning to unique corresponding mark of the database purchase
Know;
Server-side read the step of each terminal iidentification prestored from the database the following steps are included:
The terminal iidentification that server-side is prestored from the database lookup;
Whether with the terminal iidentification corresponding rubbish mark is stored in database described in server side searches;
If so, server-side reads the terminal iidentification.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410850489.1A CN104462596B (en) | 2014-12-30 | 2014-12-30 | Junk data deleting method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410850489.1A CN104462596B (en) | 2014-12-30 | 2014-12-30 | Junk data deleting method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104462596A CN104462596A (en) | 2015-03-25 |
CN104462596B true CN104462596B (en) | 2019-02-01 |
Family
ID=52908631
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410850489.1A Active CN104462596B (en) | 2014-12-30 | 2014-12-30 | Junk data deleting method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104462596B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106406694A (en) * | 2016-08-31 | 2017-02-15 | 深圳天珑无线科技有限公司 | Cleaning method of mobile terminal and mobile terminal |
CN109344128A (en) * | 2018-10-31 | 2019-02-15 | 中国银行股份有限公司 | A kind of history file method for cleaning and device based on ZOS platform |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10307793A (en) * | 1997-05-02 | 1998-11-17 | Nec Corp | User management system |
CN101309507A (en) * | 2007-05-17 | 2008-11-19 | 中兴通讯股份有限公司 | Process method for ultra mobile broadband characteristic |
CN102761853A (en) * | 2011-04-25 | 2012-10-31 | 中兴通讯股份有限公司 | Terminal management system and method |
US8463758B2 (en) * | 2011-05-13 | 2013-06-11 | Piriform Ltd. | Network registry and file cleaner |
CN104135491A (en) * | 2014-08-15 | 2014-11-05 | 北京国信灵通网络科技有限公司 | Command information distribution method, terminal, server and system |
CN104239091A (en) * | 2014-08-25 | 2014-12-24 | 北京金山安全软件有限公司 | File cleaning method and device and terminal |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6728218B1 (en) * | 2000-02-14 | 2004-04-27 | Motorola, Inc. | Method of dynamic rate switching via medium access channel layer signaling |
JP5321221B2 (en) * | 2009-04-22 | 2013-10-23 | 富士通株式会社 | Management device, management method, and program |
CN102457395B (en) * | 2010-10-26 | 2014-12-24 | 华为终端有限公司 | Method and equipment for managing terminal in equipment management system |
CN103259869B (en) * | 2013-05-31 | 2016-08-17 | 重庆大学 | A kind of concentration approaches to IM based on Distributed Storage |
CN103914338A (en) * | 2014-03-27 | 2014-07-09 | 可牛网络技术(北京)有限公司 | Terminal background application cleaning method, terminal and system |
-
2014
- 2014-12-30 CN CN201410850489.1A patent/CN104462596B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10307793A (en) * | 1997-05-02 | 1998-11-17 | Nec Corp | User management system |
CN101309507A (en) * | 2007-05-17 | 2008-11-19 | 中兴通讯股份有限公司 | Process method for ultra mobile broadband characteristic |
CN102761853A (en) * | 2011-04-25 | 2012-10-31 | 中兴通讯股份有限公司 | Terminal management system and method |
US8463758B2 (en) * | 2011-05-13 | 2013-06-11 | Piriform Ltd. | Network registry and file cleaner |
CN104135491A (en) * | 2014-08-15 | 2014-11-05 | 北京国信灵通网络科技有限公司 | Command information distribution method, terminal, server and system |
CN104239091A (en) * | 2014-08-25 | 2014-12-24 | 北京金山安全软件有限公司 | File cleaning method and device and terminal |
Also Published As
Publication number | Publication date |
---|---|
CN104462596A (en) | 2015-03-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11868314B2 (en) | File processing method and mobile terminal | |
CN104040496B (en) | Terminal and application recovery method | |
CN103246529B (en) | Update and push the method, apparatus and system of navigation bar | |
CN103533152B (en) | The SMS processing method of a kind of mobile terminal and system | |
US20200374665A1 (en) | Short Message Processing Method and Apparatus, and Electronic Device | |
CN103458409A (en) | Network connection method and network sharing method and device | |
US20140091923A1 (en) | Device event notification registration through direct interaction with mobile device | |
CN102571940A (en) | Remote application installation system, method, intelligent terminal and application server | |
CN104240066A (en) | Method and device for displaying conversation of E-mails | |
CN102937990A (en) | Method and device for cleaning files | |
CN105763431A (en) | Information pushing method, device and system | |
CN103179267A (en) | Apparatus and method for managing attached file of message in portable terminal | |
CN110633438B (en) | News event processing method, terminal, server and storage medium | |
CN103279272B (en) | A kind of method and device starting application program in an electronic | |
CN107016123A (en) | File management method and terminal device | |
CN105956132A (en) | Junk data clearing method and system | |
CN104462596B (en) | Junk data deleting method and system | |
CN103297448B (en) | The fusion method of private cloud storage and system | |
CN110944318B (en) | Lock card setting method and device, storage medium and terminal | |
CN106453823A (en) | Method and device for sending messages rapidly, and terminal | |
CN107145572B (en) | Data processing method and device, computer equipment and storage medium | |
CN105718788A (en) | Malicious application processing method and apparatus, and terminal | |
CN104683215A (en) | Communication method and device of instant communication tool | |
CN106330681A (en) | Method, system and related equipment for sharing viewing information | |
CN105703808A (en) | Method and device for transmitting data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |