CN106777286A - A kind of method for cleaning and electronic equipment - Google Patents
A kind of method for cleaning and electronic equipment Download PDFInfo
- Publication number
- CN106777286A CN106777286A CN201611246128.1A CN201611246128A CN106777286A CN 106777286 A CN106777286 A CN 106777286A CN 201611246128 A CN201611246128 A CN 201611246128A CN 106777286 A CN106777286 A CN 106777286A
- Authority
- CN
- China
- Prior art keywords
- rubbish
- application
- button
- electronic equipment
- cleaning
- 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
Links
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/17—Details of further file system functions
- G06F16/174—Redundancy elimination performed by the file system
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02W—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO WASTEWATER TREATMENT OR WASTE MANAGEMENT
- Y02W30/00—Technologies for solid waste management
- Y02W30/50—Reuse, recycling or recovery technologies
- Y02W30/82—Recycling of waste of electrical or electronic equipment [WEEE]
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)
- Stored Programmes (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the present invention discloses a kind of method for cleaning and electronic equipment, for solving to clear up during using the rubbish for producing, causes using the problem that cannot upgrade automatically because application needs increase mandate cleaning authority, and the method includes:The cleaning for clearing up rubbish for receiving user input is instructed;Instructed according to cleaning, the rubbish on inquiry electronic equipment in all applications;Rubbish removing is carried out by the application for simulating presence rubbish of the click technology to inquiring.Implement the embodiment of the present invention, can be able to ensure that the follow-up application can upgrade automatically while cleaning rubbish function is realized in application.
Description
Technical field
The present invention relates to technical field of electronic equipment, more particularly to a kind of method for cleaning and electronic equipment.
Background technology
With continuing to develop for computer technology, the application installed on the electronic equipment such as mobile phone, panel computer is more and more,
And the use applied can produce rubbish, if be not purged to the rubbish that application is produced, it will reduce the operation of electronic equipment
Speed.Therefore, in order to improve the speed of service of electronic equipment, it is necessary to being cleared up using the rubbish for producing in electronic equipment.
At present, a kind of common method for cleaning is:When the cleaning instruction for clearing up intended application is detected, judge whether have clearly
The cleaning authority of the intended application is managed, when with the cleaning authority for clearing up the intended application, cleaning instruction will be performed.On
State in method, because application needs to authorize cleaning authority, to apply needed after issue when one and do in this way cleaning work(
During energy, generally require to newly increase mandate cleaning authority, and the authority for newly increasing can cause the follow-up application to upgrade automatically, from
And reduce Consumer's Experience.
The content of the invention
The embodiment of the invention discloses a kind of method for cleaning and electronic equipment, for solving the rubbish that cleaning application is produced
When, cause using the problem that cannot upgrade automatically because application needs increase to authorize cleaning authority.
Embodiment of the present invention first aspect discloses a kind of method for cleaning, including:
The cleaning for clearing up rubbish for receiving user input is instructed;
According to the cleaning instruction, the rubbish on inquiry electronic equipment in all applications;
Rubbish removing is carried out by the application for simulating presence rubbish of the click technology to inquiring.
In one embodiment, to carry out rubbish clear for the application by simulating presence rubbish of the click technology to inquiring
Except including:
By simulating waste volumes of the click technology to inquiring rubbish removing is carried out more than the application of preset value.
In one embodiment, it is described according to the cleaning instruction, rubbish on inquiry electronic equipment in all applications it
Afterwards, methods described also includes:
According to Query Result, the application collection that there is rubbish is chosen from all applications;
Show the application identities that the application concentrates each to apply;
The application by simulating presence rubbish of the click technology to inquiring carries out rubbish removes includes:
Generate the selection instruction of the application identities for selecting display;
By simulating click technology, to concentrate selected application to carry out rubbish the application according to the selection instruction clear
Remove.
In one embodiment, to carry out rubbish clear for the application by simulating presence rubbish of the click technology to inquiring
Except including:
The application of the presence rubbish that will be inquired is defined as being cleaned application;
The application details page of application is cleaned described in obtaining;
Parse and obtain the user interface element for the button that removes rubbish in application details page;
The button that removes rubbish is simulated according to the user interface element is clicked on.
In one embodiment, when the application that there is rubbish be in the presence of caching rubbish application when, it is described remove rubbish by
Key caches rubbish button to remove;
When the application that there is rubbish is the application that there is data garbage, the button that removes rubbish is the rubbish that clears data
Button;
When the application that there is rubbish is the application in the presence of caching rubbish and data garbage, the button that removes rubbish includes
Remove caching rubbish button and the rubbish button that clears data, or the button that removes rubbish is all rubbish buttons of removing.
In one embodiment, the quantity of the application of the presence rubbish for inquiring is at least two;
The application by simulating presence rubbish of the click technology to inquiring carries out rubbish removes includes:
The application that there is rubbish that will be inquired is defined as currently being cleaned application, and by simulating click technology pair
It is described current to be cleaned using carrying out rubbish removing;
Whether all applications that there is rubbish that judgement is inquired all have been eliminated;
When all applications that there is rubbish for inquiring have not been eliminated all, next application that there is rubbish is obtained
Application is cleaned as current, and execution applies the step for carrying out rubbish removing by simulating click technology to current being cleaned
Suddenly.
Embodiment of the present invention second aspect discloses a kind of electronic equipment, including:
Receiving unit, the cleaning for clearing up rubbish for receiving user input is instructed;
Query unit, for the cleaning instruction received according to the receiving unit, on inquiry electronic equipment in all applications
Rubbish;
Clearing cell, is carried out for the application by simulating the presence rubbish that click technology is inquired to the query unit
Rubbish is removed.
In one embodiment, the clearing cell, specifically for being held by simulating rubbish of the click technology to inquiring
Amount carries out rubbish removing more than the application of preset value.
In one embodiment, the electronic equipment also includes:
Unit is chosen, for the Query Result according to the query unit, is chosen from all applications and be there is rubbish
Application collection;
The application identities of each application are concentrated in display unit, the application for showing the selection unit selection;
The clearing cell includes:
Generation subelement, for generating the selection instruction for the application identities for selecting the display unit to show;
First removes subelement, for by simulating the selection instruction pair that click technology is generated according to the generation subelement
The selected application of the application concentration carries out rubbish removing.
In one embodiment, the clearing cell includes:
First determination subelement, the application of the presence rubbish for the query unit to be inquired is defined as being cleaned answers
With;
Subelement is obtained, for obtaining the application details for the being cleaned application page that first determination subelement determines;
The acquisition subelement, is additionally operable to parse and obtain in the application details page user for the button that removes rubbish
Interface element;
Click on subelement, for according to it is described acquisition subelement obtain user interface element to the button that removes rubbish
It is simulated and clicks on.
In one embodiment, when the application that there is rubbish be in the presence of caching rubbish application when, it is described remove rubbish by
Key caches rubbish button to remove;
When the application that there is rubbish is the application that there is data garbage, the button that removes rubbish is the rubbish that clears data
Button;
When the application that there is rubbish is the application in the presence of caching rubbish and data garbage, the button that removes rubbish includes
Remove caching rubbish button and the rubbish button that clears data, or the button that removes rubbish is all rubbish buttons of removing.
In one embodiment, the quantity of the application of the presence rubbish for inquiring is at least two;
The clearing cell includes:
Second determination subelement a, application that there is rubbish for the query unit to be inquired is defined as currently
It is cleaned application;
Second removes subelement, for current being cleaned using carrying out rubbish removing to described by simulating click technology;
Judgment sub-unit, it is whether all clear for judging all applications that there is rubbish that the query unit is inquired
Except complete, if the judged result of the judgment sub-unit is all applications that there is rubbish for inquiring when not being eliminated all,
Then obtain next application that there is rubbish and be cleaned application as current, trigger described second and remove subelement.
In the embodiment of the present invention, the cleaning for clearing up rubbish for receiving user input is instructed, according to cleaning instructions query
Rubbish on electronic equipment in all applications, carries out rubbish clear by the application for simulating presence rubbish of the click technology to inquiring
Remove, it is seen then that the rubbish in the application on electronic equipment need not can be purged using mandate cleaning authority, therefore,
Can be able to ensure that the follow-up application can upgrade automatically while cleaning rubbish function is realized in application.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, below by to be used needed for embodiment
Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for this area
For those of ordinary skill, without having to pay creative labor, can also obtain other attached according to these accompanying drawings
Figure.
Fig. 1 is a kind of schematic flow sheet of method for cleaning disclosed in the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of another method for cleaning disclosed in the embodiment of the present invention;
Fig. 3 is the structural representation of a kind of electronic equipment disclosed in the embodiment of the present invention;
Fig. 4 is the structural representation of another electronic equipment disclosed in the embodiment of the present invention;
Fig. 5 is the structural representation of another electronic equipment disclosed in the embodiment of the present invention;
Fig. 6 is the structural representation of another electronic equipment disclosed in the embodiment of the present invention;
Fig. 7 is the structural representation of another electronic equipment disclosed in the embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.Based on this
Embodiment in invention, the every other reality that those of ordinary skill in the art are obtained under the premise of creative work is not made
Example is applied, the scope of protection of the invention is belonged to.
The embodiment of the invention discloses a kind of method for cleaning and electronic equipment, for solving the rubbish that cleaning application is produced
When, cause using the problem that cannot upgrade automatically because application needs increase to authorize cleaning authority.Carry out individually below in detail
Explanation.
Fig. 1 is referred to, Fig. 1 is a kind of schematic flow sheet of method for cleaning disclosed in the embodiment of the present invention.Wherein, the cleaning
Method is the angle from the electronic equipment for being provided with application to be described.As shown in figure 1, the method for cleaning can include following step
Suddenly.
101st, the cleaning for clearing up rubbish for receiving user input is instructed.
In the present embodiment, when user needs the rubbish cleared up in electronic equipment, can be by operating mouse, keyboard, screen
Curtain, button etc. are instructed to the cleaning that electronic equipment is input into for clearing up rubbish, and electronic equipment can receive user input afterwards
The cleaning instruction.Wherein, electronic equipment can receive cleaning instruction by being similar to the device of the management application such as mobile phone house keeper.
102nd, instructed according to the cleaning, the rubbish on inquiry electronic equipment in all applications.
In the present embodiment, electronic equipment is received after the instruction of the cleaning for clearing up rubbish of user input, by basis
The cleaning is instructed, the rubbish on inquiry electronic equipment in all applications, i.e., instructed according to the cleaning, the institute in scanning electron equipment
There is application.
In the present embodiment, because the rubbish in application can be the rubbish in caching, that is, rubbish is cached, or data
In rubbish, i.e. data garbage (or file rubbish) can also be caching rubbish and data garbage.Therefore, electronic equipment is inquired about
Rubbish in upper all applications, can inquire about size, or inquiry electricity that all applications on electronic equipment occupy caching
The size of the junk data that all applications are produced in sub- equipment, can also be that all applications occupy caching on inquiry electronic equipment
The size of size and the junk data for producing.
103rd, the application by simulating presence rubbish of the click technology to inquiring carries out rubbish removing.
In the present embodiment, instructed according to cleaning, after the rubbish on inquiry electronic equipment in all applications, it will it is determined that electricity
There is rubbish in which application in sub- equipment, therefore, the application by simulating presence rubbish of the click technology to inquiring is entered
Row rubbish is removed.
In the present embodiment, rubbish removing is carried out by the application for simulating presence rubbish of the click technology to inquiring, can be with
It is to carry out rubbish removing more than the application of preset value by simulating waste volumes of the click technology to inquiring, i.e., only rubbish is held
Amount is purged more than the application of preset value.Wherein, waste volumes can be that caching waste volumes, or data garbage are held
Amount, can also be caching waste volumes and data garbage capacity.
In the present embodiment, rubbish removing is carried out by the application for simulating presence rubbish of the click technology to inquiring, can be with
It is that the application of the presence rubbish that will be inquired is defined as being cleaned application, acquisition is cleaned the application details page of application, and parsing is simultaneously
Obtain using in details page for the user interface element of button of removing rubbish, and according to user interface element to remove rubbish by
Key is simulated to be clicked on.Wherein, when the application that there is rubbish is the application in the presence of caching rubbish, the button that removes rubbish is removing
Caching rubbish button, when the application that there is rubbish is the application that there is data garbage, the button that removes rubbish is the rubbish that clears data
Rubbish button, when the application that there is rubbish is the application in the presence of caching rubbish and data garbage, the button that removes rubbish includes removing
Caching rubbish button and the rubbish button that clears data, or the button that removes rubbish is to remove all rubbish buttons, i.e., using details
Page can only include removing caching rubbish button, it is also possible to only include the rubbish button that clears data, can also only include for clear
Except caching rubbish and all rubbish buttons of removing of data garbage, can also simultaneously include removing caching rubbish button and remove number
According to rubbish button, can also simultaneously include that removing caches rubbish button, clear data rubbish button and all rubbish buttons of removing.
Therefore, the button that removes rubbish is simulated and clicked on, can be to remove caching rubbish button be simulated click on, or
The rubbish button that clears data is simulated and is clicked on, can also be and enter to removing caching rubbish button and the rubbish button that clears data
Row simulation is clicked on, and be can also be and is clicked on to removing all rubbish buttons simulations.
In the present embodiment, the quantity of the application of the presence rubbish for inquiring can be at least two, and skill is clicked on by simulating
The application of presence rubbish of the art to inquiring carries out rubbish removing, can be that the application that for inquiring has rubbish determines
Application is cleaned for current, and is cleaned using rubbish removing is carried out to current by simulating click technology, inquiry is judged afterwards
To all applications that there is rubbish whether be all eliminated, when all applications that there is rubbish for inquiring are not all clear
Except it is complete when, obtain next application that there is rubbish and be cleaned application as current, and perform by simulating click technology to ought
Before be cleaned using the step of carrying out rubbish and remove, until the application of the presence rubbish for inquiring all is removed.
In the present embodiment, after carrying out rubbish removing by the application for simulating presence rubbish of the click technology to inquiring,
The rubbish total capacity of cleaning can be shown.
In the method for cleaning described by Fig. 1, the cleaning for clearing up rubbish for receiving user input is instructed, according to cleaning
Rubbish on instructions query electronic equipment in all applications, is entered by the application for simulating presence rubbish of the click technology to inquiring
Row rubbish is removed, it is seen then that the rubbish in the application on electronic equipment need not can be carried out clearly using mandate cleaning authority
Remove, therefore, it can be able to ensure that the follow-up application can upgrade automatically while cleaning rubbish function is realized in application.
Fig. 2 is referred to, Fig. 2 is the schematic flow sheet of another method for cleaning disclosed in the embodiment of the present invention.Wherein, this is clear
Reason method is the angle from the electronic equipment for being provided with application to be described.As shown in Fig. 2 the method for testing can include it is following
Step.
201st, the cleaning for clearing up rubbish for receiving user input is instructed.
In the present embodiment, when user needs the rubbish cleared up in electronic equipment, can be by operating mouse, keyboard, screen
Curtain, button etc. are instructed to the cleaning that electronic equipment is input into for clearing up rubbish, and electronic equipment can receive user input afterwards
The cleaning instruction.Wherein, electronic equipment can receive cleaning instruction by being similar to the device of the management application such as mobile phone house keeper.
202nd, instructed according to the cleaning, the rubbish on inquiry electronic equipment in all applications.
In the present embodiment, electronic equipment is received after the instruction of the cleaning for clearing up rubbish of user input, by basis
The cleaning is instructed, the rubbish on inquiry electronic equipment in all applications, i.e., instructed according to the cleaning, the institute in scanning electron equipment
There is application.
In the present embodiment, because the rubbish in application can be the rubbish in caching, that is, rubbish is cached, or data
In rubbish, i.e. data garbage (or file rubbish) can also be caching rubbish and data garbage.Therefore, electronic equipment is inquired about
Rubbish in upper all applications, can inquire about size, or inquiry that all applications on electronic equipment are occupied caching
The size of the junk data that all applications are produced on electronic equipment, can also be on inquiry electronic equipment that all applications are occupied slow
The size and the size of the junk data for producing deposited.
203rd, according to Query Result, the application collection that there is rubbish is chosen from all applications.
In the present embodiment, instructed according to the cleaning, after the rubbish on inquiry electronic equipment in all applications, will be according to looking into
Result is ask, the application collection that there is rubbish is chosen from all applications on electronic equipment, be all applications on electronic equipment using collection
The set of the middle application that there is rubbish.Wherein, the application collection that there is rubbish, Ke Yishi are chosen from all applications on electronic equipment
The application that there is caching rubbish is chosen from all applications on electronic equipment to collect, or from all applications on electronic equipment
There is the application collection of data garbage in selection, can also be to be chosen from all applications on electronic equipment there are caching rubbish and data
The application collection of rubbish.
204th, the application identities of each application are concentrated in display application.
In the present embodiment, according to scan for inquiries, chosen from all applications after obtaining the application collection that there is rubbish, can be with
To obtain descending permutation table, and will show using concentrating each using descending arrangement is carried out according to waste volumes present in application
Show descending permutation table.Wherein, descending permutation table can include application identities, it is also possible to including the rubbish that application identities and application include
Rubbish capacity.Wherein, application identities can be Apply Names, or application icon, can also be other for unique mark
The information of application.
In the present embodiment, electronic equipment concentrates each to answer in display using the application identities and application for concentrating each application
While with the waste volumes for including, it is also possible to the rubbish total capacity that all applications of display inquiry include, so that user can
To be clearly understood that the rubbish total capacity that electronic equipment is produced.
205th, the selection instruction of the application identities for selecting display is generated, and is referred to according to selection by simulating click technology
Order carries out rubbish removing to the application selected application of concentration.
In the present embodiment, display application is concentrated after the application identities of each application, can be generated for selecting display
The selection instruction of application identities, and the rubbish during each application is concentrated in application is removed according to selection instruction, i.e., clicked on by simulation
Technology carries out rubbish removing according to selection instruction to the application selected application of concentration.
In the present embodiment, when there is the redaction of intended application in detecting server, can be by mesh in electronic equipment
Mark application upgrade is the redaction.Wherein, intended application is any application in all applications on electronic equipment.
In the present embodiment, after carrying out rubbish removing by the application for simulating presence rubbish of the click technology to inquiring,
The rubbish total capacity of cleaning can be shown.
In the method for cleaning described by Fig. 2, the cleaning for clearing up rubbish for receiving user input is instructed, according to cleaning
Rubbish on instructions query electronic equipment in all applications, is entered by the application for simulating presence rubbish of the click technology to inquiring
Row rubbish is removed, it is seen then that the rubbish in the application on electronic equipment need not can be carried out clearly using mandate cleaning authority
Remove, therefore, it can be able to ensure that the follow-up application can upgrade automatically while cleaning rubbish function is realized in application.
Fig. 3 is referred to, Fig. 3 is the structural representation of a kind of electronic equipment disclosed in the embodiment of the present invention.Wherein, the electronics
Equipment can be mobile phone, the panel computer etc. for being provided with application.As shown in figure 3, the electronic equipment can include:
Receiving unit 301, the cleaning for clearing up rubbish for receiving user input is instructed;
Query unit 302, for the cleaning instruction received according to receiving unit 301, all applications on inquiry electronic equipment
In rubbish;
Clearing cell 303, enters for the application by simulating the presence rubbish that click technology is inquired to query unit 302
Row rubbish is removed.
In the electronic equipment described by Fig. 3, the cleaning for clearing up rubbish for receiving user input is instructed, according to cleaning
Rubbish on instructions query electronic equipment in all applications, is entered by the application for simulating presence rubbish of the click technology to inquiring
Row rubbish is removed, it is seen then that the rubbish in the application on electronic equipment need not can be carried out clearly using mandate cleaning authority
Remove, therefore, it can be able to ensure that the follow-up application can upgrade automatically while cleaning rubbish function is realized in application.
Fig. 4 is referred to, Fig. 4 is the structural representation of another electronic equipment disclosed in the embodiment of the present invention.Wherein, the electricity
Sub- equipment can be mobile phone, the panel computer etc. for being provided with application.Wherein, the electronic equipment shown in Fig. 4 is electricity as shown in Figure 3
What sub- equipment optimization was obtained, wherein:
Clearing cell 303, specifically for being more than answering for preset value by simulating waste volumes of the click technology to inquiring
With carrying out rubbish removing.
Used as a kind of possible implementation method, the electronic equipment can also include:
Unit 304 is chosen, for the Query Result according to query unit 302, is chosen from all applications and be there is rubbish
Using collection;
Display unit 305, the application identities using each application of concentration that unit 304 is chosen are chosen for showing;
Clearing cell 303 can include:
Generation subelement 3031, for generating the selection instruction for the application identities for selecting display unit 305 to show;
First removes subelement 3032, for being referred to according to the selection that generation subelement 3031 is generated by simulating click technology
Order carries out rubbish removing to the application selected application of concentration.
In the electronic equipment described by Fig. 4, the cleaning for clearing up rubbish for receiving user input is instructed, according to cleaning
Rubbish on instructions query electronic equipment in all applications, is entered by the application for simulating presence rubbish of the click technology to inquiring
Row rubbish is removed, it is seen then that the rubbish in the application on electronic equipment need not can be carried out clearly using mandate cleaning authority
Remove, therefore, it can be able to ensure that the follow-up application can upgrade automatically while cleaning rubbish function is realized in application.
Fig. 5 is referred to, Fig. 5 is the structural representation of another electronic equipment disclosed in the embodiment of the present invention.Wherein, the electricity
Sub- equipment can be mobile phone, the panel computer etc. for being provided with application.Wherein, the electronic equipment shown in Fig. 5 is electricity as shown in Figure 3
What sub- equipment optimization was obtained, wherein:
Clearing cell 303, specifically for being more than answering for preset value by simulating waste volumes of the click technology to inquiring
With carrying out rubbish removing.
Used as a kind of possible implementation method, clearing cell 303 can include:
First determination subelement 3031, the application of the presence rubbish for query unit 302 to be inquired is defined as clear
Ought to use;
Subelement 3032 is obtained, for obtaining the application details for being cleaned application that the first determination subelement 3031 determines
Page;
Subelement 3032 is obtained, is additionally operable to parse and obtain the user interface using in details page for the button that removes rubbish
Element;
Click on subelement 3033, for according to obtain subelement 3032 obtain user interface element to the button that removes rubbish
It is simulated and clicks on.
As a kind of possible implementation method, when the application that there is rubbish is the application in the presence of caching rubbish, rubbish is removed
Rubbish button caches rubbish button to remove;
When the application that there is rubbish is the application that there is data garbage, the button that removes rubbish for clear data rubbish by
Key;
When the application that there is rubbish is the application in the presence of caching rubbish and data garbage, the button that removes rubbish includes removing
Caching rubbish button and the rubbish button that clears data, or the button that removes rubbish is to remove all rubbish buttons.
In the electronic equipment described by Fig. 5, the cleaning for clearing up rubbish for receiving user input is instructed, according to cleaning
Rubbish on instructions query electronic equipment in all applications, is entered by the application for simulating presence rubbish of the click technology to inquiring
Row rubbish is removed, it is seen then that the rubbish in the application on electronic equipment need not can be carried out clearly using mandate cleaning authority
Remove, therefore, it can be able to ensure that the follow-up application can upgrade automatically while cleaning rubbish function is realized in application.
Fig. 6 is referred to, Fig. 6 is the structural representation of another electronic equipment disclosed in the embodiment of the present invention.Wherein, the electricity
Sub- equipment can be mobile phone, the panel computer etc. for being provided with application.Wherein, the electronic equipment shown in Fig. 6 is electricity as shown in Figure 3
What sub- equipment optimization was obtained, wherein:
Clearing cell 303, specifically for being more than answering for preset value by simulating waste volumes of the click technology to inquiring
With carrying out rubbish removing.
Used as a kind of possible implementation method, the quantity of the application of the presence rubbish for inquiring is at least two;
Clearing cell 303 can include:
Second determination subelement 3031 a, application that there is rubbish for the query unit to be inquired is defined as
Currently it is cleaned application;
Second removes subelement 3032, for carrying out rubbish removing to being currently cleaned to apply by simulating click technology;
Judgment sub-unit 3033, it is whether whole for judging all applications that there is rubbish that query unit 302 is inquired
It has been be eliminated that, if the judged result of judgment sub-unit 3033 is all applications that there is rubbish for inquiring not being eliminated all
When, then obtaining next application that there is rubbish and be cleaned application as current, subelement 3032 is removed in triggering second.
In the electronic equipment described by Fig. 6, the cleaning for clearing up rubbish for receiving user input is instructed, according to cleaning
Rubbish on instructions query electronic equipment in all applications, is entered by the application for simulating presence rubbish of the click technology to inquiring
Row rubbish is removed, it is seen then that the rubbish in the application on electronic equipment need not can be carried out clearly using mandate cleaning authority
Remove, therefore, it can be able to ensure that the follow-up application can upgrade automatically while cleaning rubbish function is realized in application.
Fig. 7 is referred to, Fig. 7 is the structural representation of another electronic equipment disclosed in the embodiment of the present invention.Wherein, the electricity
Sub- equipment can be mobile phone, the panel computer etc. for being provided with application.As shown in fig. 7, the electronic equipment can include processor
701st, memory 702, input unit 703, output device 704, communication interface 705 and bus 706, memory 702 can be high
Fast RAM memory, or non-labile memory (non-volatile memory), for example, at least one disk are deposited
Reservoir.Alternatively, memory 702 can also be at least one storage device for being located remotely from aforementioned processor 701.Processor
701st, the input unit 703 of memory 702, output device 704 and communication interface 705 are connected by bus 706 and completed each other
Communication, wherein:
Input unit 703, the cleaning for clearing up rubbish for receiving user input is instructed and is sent to processor
701;
Be stored with batch processing code in memory 702, and processor 701 is used to call the program stored in memory 702
Code performs following operation:
Instructed according to cleaning, the rubbish on inquiry electronic equipment in all applications;
Rubbish removing is carried out by the application for simulating presence rubbish of the click technology to inquiring.
Used as a kind of possible implementation method, processor 701 is by simulating click technology to the presence rubbish that inquires
Include using rubbish removing is carried out:
By simulating waste volumes of the click technology to inquiring rubbish removing is carried out more than the application of preset value.
Used as a kind of possible implementation method, processor 701 is instructed according to cleaning, on inquiry electronic equipment in all applications
Rubbish after, processor 701 is additionally operable to call the program code stored in memory 702 to perform following operation:
According to Query Result, the application collection that there is rubbish is chosen from all applications;
Output device 704, for showing that the application identities of each application are concentrated in application;
Application of the processor 701 by simulating presence rubbish of the click technology to inquiring carries out rubbish removes includes:
Generate the selection instruction of the application identities for selecting display;
Rubbish removing is carried out to the application selected application of concentration according to selection instruction by simulating click technology.
Used as a kind of possible implementation method, processor 701 is by simulating click technology to the presence rubbish that inquires
Include using rubbish removing is carried out:
The application of the presence rubbish that will be inquired is defined as being cleaned application;
Acquisition is cleaned the application details page of application;
Parse and obtain using the user interface element in details page for the button that removes rubbish;
The button that removes rubbish is simulated according to user interface element is clicked on.
As a kind of possible implementation method, when the application that there is rubbish is the application in the presence of caching rubbish, rubbish is removed
Rubbish button caches rubbish button to remove;
When the application that there is rubbish is the application that there is data garbage, the button that removes rubbish for clear data rubbish by
Key;
When the application that there is rubbish is the application in the presence of caching rubbish and data garbage, the button that removes rubbish includes removing
Caching rubbish button and the rubbish button that clears data, or the button that removes rubbish is to remove all rubbish buttons.
Used as a kind of possible implementation method, the quantity of the application of the presence rubbish for inquiring is at least two;
Application of the processor 701 by simulating presence rubbish of the click technology to inquiring carries out rubbish removes includes:
The application that there is rubbish that will be inquired is defined as currently being cleaned application, and by simulating click technology pair
Currently it is cleaned to apply and carries out rubbish removing;
Whether all applications that there is rubbish that judgement is inquired all have been eliminated;
When all applications that there is rubbish for inquiring have not been eliminated all, next application that there is rubbish is obtained
Be cleaned application as current, and perform by simulate click technology to it is current be cleaned application and carry out rubbish and remove the step of.
As a kind of possible implementation method, communication interface 705, for being led to server or other electronic equipments
Letter;
Processor 701 is additionally operable to call the program code stored in memory 702 to perform following operation:
When there is the redaction of intended application in detecting server, intended application in electronic equipment is upgraded into new edition
This, intended application is any application in all applications on electronic equipment.
In the electronic equipment described by Fig. 7, the cleaning for clearing up rubbish for receiving user input is instructed, according to cleaning
Rubbish on instructions query electronic equipment in all applications, is entered by the application for simulating presence rubbish of the click technology to inquiring
Row rubbish is removed, it is seen then that the rubbish in the application on electronic equipment need not can be carried out clearly using mandate cleaning authority
Remove, therefore, it can be able to ensure that the follow-up application can upgrade automatically while cleaning rubbish function is realized in application.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can
Completed with instructing the hardware of correlation by program, the program can be stored in a computer-readable recording medium, storage
Medium can include:Flash disk, read-only storage (read-only memory, ROM), random access device (random access
Memory, RAM), disk or CD etc..
Method for cleaning disclosed in the embodiment of the present invention and electronic equipment are described in detail above, it is used herein
Specific case is set forth to principle of the invention and implementation method, and the explanation of above example is only intended to help and understands this
The method and its core concept of invention;Simultaneously for those of ordinary skill in the art, according to thought of the invention, specific
Be will change in implementation method and range of application, in sum, this specification content should not be construed as to of the invention
Limitation.
Claims (10)
1. a kind of method for cleaning, it is characterised in that including:
The cleaning for clearing up rubbish for receiving user input is instructed;
According to the cleaning instruction, the rubbish on inquiry electronic equipment in all applications;
Rubbish removing is carried out by the application for simulating presence rubbish of the click technology to inquiring.
2. method according to claim 1, it is characterised in that described by simulating click technology to the presence rubbish that inquires
The application of rubbish carries out rubbish removes includes:
By simulating waste volumes of the click technology to inquiring rubbish removing is carried out more than the application of preset value.
3. method according to claim 1, it is characterised in that described according to the cleaning instruction, on inquiry electronic equipment
After rubbish in all applications, methods described also includes:
According to Query Result, the application collection that there is rubbish is chosen from all applications;
Show the application identities that the application concentrates each to apply;
The application by simulating presence rubbish of the click technology to inquiring carries out rubbish removes includes:
Generate the selection instruction of the application identities for selecting display;
Rubbish removing is carried out to the application selected application of concentration according to the selection instruction by simulating click technology.
4. method according to claim 1, it is characterised in that described by simulating click technology to the presence rubbish that inquires
The application of rubbish carries out rubbish removes includes:
The application of the presence rubbish that will be inquired is defined as being cleaned application;
The application details page of application is cleaned described in obtaining;
Parse and obtain the user interface element for the button that removes rubbish in application details page;
The button that removes rubbish is simulated according to the user interface element is clicked on.
5. method according to claim 4, it is characterised in that when the application that there is rubbish is the application in the presence of caching rubbish
When, it is described to remove rubbish button to remove caching rubbish button;
When the application that there is rubbish is the application that there is data garbage, it is described remove rubbish button for clear data rubbish by
Key;
When the application that there is rubbish is the application in the presence of caching rubbish and data garbage, the button that removes rubbish includes removing
Caching rubbish button and the rubbish button that clears data, or the button that removes rubbish is all rubbish buttons of removing.
6. a kind of electronic equipment, it is characterised in that including:
Receiving unit, the cleaning for clearing up rubbish for receiving user input is instructed;
Query unit, for the cleaning instruction received according to the receiving unit, the rubbish on inquiry electronic equipment in all applications
Rubbish;
Clearing cell, rubbish is carried out for the application by simulating the presence rubbish that click technology is inquired to the query unit
Remove.
7. electronic equipment according to claim 6, it is characterised in that the clearing cell, specifically for by simulating a little
Hit waste volumes of the technology to inquiring carries out rubbish removing more than the application of preset value.
8. electronic equipment according to claim 6, it is characterised in that the electronic equipment also includes:
Unit is chosen, for the Query Result according to the query unit, is chosen from all applications and be there is answering for rubbish
With collection;
The application identities of each application are concentrated in display unit, the application for showing the selection unit selection;
The clearing cell includes:
Generation subelement, for generating the selection instruction for the application identities for selecting the display unit to show;
First removes subelement, for by simulating selection instruction of the click technology according to the generation subelement generation to described
Rubbish removing is carried out using selected application is concentrated.
9. electronic equipment according to claim 6, it is characterised in that the clearing cell includes:
First determination subelement, the application of the presence rubbish for the query unit to be inquired is defined as being cleaned application;
Subelement is obtained, for obtaining the application details for the being cleaned application page that first determination subelement determines;
The acquisition subelement, is additionally operable to parse and obtain in the application details page user interface for the button that removes rubbish
Element;
Subelement is clicked on, the user interface element for being obtained according to the acquisition subelement is carried out to the button that removes rubbish
Simulation is clicked on.
10. electronic equipment according to claim 9, it is characterised in that when the application that there is rubbish is in the presence of caching rubbish
Application when, it is described remove rubbish button for remove caching rubbish button;
When the application that there is rubbish is the application that there is data garbage, it is described remove rubbish button for clear data rubbish by
Key;
When the application that there is rubbish is the application in the presence of caching rubbish and data garbage, the button that removes rubbish includes removing
Caching rubbish button and the rubbish button that clears data, or the button that removes rubbish is all rubbish buttons of removing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611246128.1A CN106777286A (en) | 2016-12-29 | 2016-12-29 | A kind of method for cleaning and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611246128.1A CN106777286A (en) | 2016-12-29 | 2016-12-29 | A kind of method for cleaning and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106777286A true CN106777286A (en) | 2017-05-31 |
Family
ID=58928865
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611246128.1A Pending CN106777286A (en) | 2016-12-29 | 2016-12-29 | A kind of method for cleaning and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106777286A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107291632A (en) * | 2017-06-06 | 2017-10-24 | 北京金山安全软件有限公司 | Method and device for clearing cache data and terminal equipment |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130024460A1 (en) * | 2011-07-22 | 2013-01-24 | Fusion-Io | Apparatus, system, and method for indexing data of an append-only, log-based structure |
CN103927198A (en) * | 2014-03-19 | 2014-07-16 | 北京奇虎科技有限公司 | Software clearing method and software clearing device |
US20140280198A1 (en) * | 2013-03-15 | 2014-09-18 | Joyent, Inc. | Object store management operations within compute-centric object stores |
CN104572819A (en) * | 2014-12-02 | 2015-04-29 | 深圳市腾讯计算机***有限公司 | Clearing method and system for junk data |
CN105224408A (en) * | 2015-09-22 | 2016-01-06 | 小米科技有限责任公司 | Data clearing method, Apparatus and system |
CN105893278A (en) * | 2016-03-30 | 2016-08-24 | 北京金山安全软件有限公司 | System cache garbage cleaning method and device and terminal equipment |
CN105912671A (en) * | 2016-04-12 | 2016-08-31 | 努比亚技术有限公司 | Method and device for cleaning up useless files |
-
2016
- 2016-12-29 CN CN201611246128.1A patent/CN106777286A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130024460A1 (en) * | 2011-07-22 | 2013-01-24 | Fusion-Io | Apparatus, system, and method for indexing data of an append-only, log-based structure |
US20140280198A1 (en) * | 2013-03-15 | 2014-09-18 | Joyent, Inc. | Object store management operations within compute-centric object stores |
CN103927198A (en) * | 2014-03-19 | 2014-07-16 | 北京奇虎科技有限公司 | Software clearing method and software clearing device |
CN104572819A (en) * | 2014-12-02 | 2015-04-29 | 深圳市腾讯计算机***有限公司 | Clearing method and system for junk data |
CN105224408A (en) * | 2015-09-22 | 2016-01-06 | 小米科技有限责任公司 | Data clearing method, Apparatus and system |
CN105893278A (en) * | 2016-03-30 | 2016-08-24 | 北京金山安全软件有限公司 | System cache garbage cleaning method and device and terminal equipment |
CN105912671A (en) * | 2016-04-12 | 2016-08-31 | 努比亚技术有限公司 | Method and device for cleaning up useless files |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107291632A (en) * | 2017-06-06 | 2017-10-24 | 北京金山安全软件有限公司 | Method and device for clearing cache data and terminal equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104268241B (en) | Attribute display method in a kind of configuration database | |
CN103744671B (en) | The method and electronic equipment of a kind of information processing | |
CN106708899A (en) | Automatic point burying device | |
CN1436418A (en) | On-line directory assistance system | |
CN106708557A (en) | Update processing method and device capable of aiming at terminal application | |
CN106201321A (en) | A kind of application control method and mobile terminal | |
CN102654885A (en) | Mobile terminal webpage adaptation system and method | |
CN108664957A (en) | Number-plate number matching process and device, character information matching process and device | |
CN104599111B (en) | A kind of business management method and device | |
CN110177139A (en) | A kind of ostensible mobile APP data grab method | |
CN104836696B (en) | A kind of detection method and device of IP address | |
CN103516904A (en) | Method for sharing data in terminal and terminal | |
CN104008446A (en) | Construction technology information interactive method and system | |
CN103207730B (en) | One can locate pull-alongs flow process drawing generating method and process flow diagram maker | |
CN102830930A (en) | Treatment method and device for keyboard keys and multimedia terminal | |
CN106776871A (en) | The storage method and mobile terminal of a kind of multimedia file | |
CN104270399A (en) | Login method and login device for application program | |
CN106777286A (en) | A kind of method for cleaning and electronic equipment | |
Jayarajan et al. | Smart cloud enabled E-waste management system | |
CN103379179A (en) | Method and system for planning network IP address | |
CN109491733A (en) | Based on visual interface display method and relevant device | |
CN103353837A (en) | Method and equipment for display page in mobile equipment | |
CN105138266A (en) | Method for automatically switching input methods | |
CN105516114B (en) | Method and device for scanning vulnerability based on webpage hash value and electronic equipment | |
CN105653164A (en) | Method and terminal for voice inputting user event |
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: 20170531 |