CN104793969A - Application program unloading method and device - Google Patents

Application program unloading method and device Download PDF

Info

Publication number
CN104793969A
CN104793969A CN201510142864.1A CN201510142864A CN104793969A CN 104793969 A CN104793969 A CN 104793969A CN 201510142864 A CN201510142864 A CN 201510142864A CN 104793969 A CN104793969 A CN 104793969A
Authority
CN
China
Prior art keywords
application program
unloading
application
unloaded
information list
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.)
Granted
Application number
CN201510142864.1A
Other languages
Chinese (zh)
Other versions
CN104793969B (en
Inventor
续丽娜
赵亚帆
刘广鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510142864.1A priority Critical patent/CN104793969B/en
Publication of CN104793969A publication Critical patent/CN104793969A/en
Application granted granted Critical
Publication of CN104793969B publication Critical patent/CN104793969B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses an application program unloading method and device, and belongs to the technical field of computers. The application program unloading method includes the steps that a deleting command for removing desktop file folders is received, and the desktop file folders are located on the desktop and comprise at least one installed application program; after the deleting command is received, an unloading application thread is created; application programs in the desktop file folders are unloaded sequentially by the adoption of the unloading application thread; after the deleting command for deleting the desktop file folders is received, the application programs in the file folders are sequentially unloaded; due to the fact that all the application programs in the file folders can be uploaded in batches, the problems that only one application program is uploaded at a time, and many unloading operation steps need to be conducted when a great number of the application programs need to be uploaded are solved; the unloading operation steps are simplified, and the unloading operation efficiency is improved.

Description

Application program discharging method and device
Technical field
The disclosure relates to field of computer technology, particularly a kind of application program discharging method and device.
Background technology
In order to allow electronic equipment realize several functions, usually need corresponding application program is installed in the electronic device.And when no longer needing to use certain application program, in order to avoid it holds over storage space, unloading operation can be performed to this application program.
Current electronic equipment unload multiple application program time, need receive user select determine first application program that needs unload after, electronic equipment could unload this first application program; Receive user select determine need unloading second application program after, electronic equipment could unload this second application program; And carried out the multiple application program of unloading with this.
Summary of the invention
The disclosure provides a kind of application program discharging method and device.Described technical scheme is as follows:
According to the first aspect of disclosure embodiment, provide a kind of application program discharging method, described method comprises:
Receive and remove instruction for what remove desktop folder, described desktop folder is the file comprising the application program that at least one has been installed be positioned on desktop;
After removing instruction described in receiving, create unloading application thread;
Described unloading application thread is utilized to unload application program in described desktop folder successively.
According to the second aspect of disclosure embodiment, provide a kind of application program discharge mechanism, described device comprises:
Receiver module, is configured to receive and removes instruction for what remove desktop folder, and described desktop folder is the file comprising the application program that at least one has been installed be positioned on desktop;
Creation module, after removing instruction, creates unloading application thread described in being configured to receive at described receiver module;
Unload module, the described unloading application thread being configured to utilize described creation module to create unloads the application program in described desktop folder successively.
According to the third aspect of disclosure embodiment, provide a kind of application program discharge mechanism, described device comprises:
Processor;
For storing the storer of described processor executable;
Wherein, described processor is configured to:
Receive and remove instruction for what remove desktop folder, described desktop folder is the file comprising the application program that at least one has been installed be positioned on desktop;
After removing instruction described in receiving, create unloading application thread;
Described unloading application thread is utilized to unload application program in described desktop folder successively.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect:
By receive remove file remove instruction after, unload the application program in this file successively; Due to can all application programs in batch uninstall file folder, therefore solve and once can only unload an application program, when needs unload in a large number application program, the problem that unloading operation step is more; Reach and simplify unloading operation step, improve the effect of unloading operation efficiency.
Should be understood that, it is only exemplary that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in instructions and to form the part of this instructions, shows and meets embodiment of the present disclosure, and is used from instructions one and explains principle of the present disclosure.
Fig. 1 is the process flow diagram of a kind of application program discharging method according to an exemplary embodiment;
Fig. 2 A is the process flow diagram of a kind of application program discharging method according to another exemplary embodiment;
Fig. 2 B is the schematic diagram that a kind of generation according to an exemplary embodiment removes instruction;
Fig. 3 is a kind of process flow diagram forbidding unloading application program according to an exemplary embodiment;
Fig. 4 is the block diagram of a kind of application program discharge mechanism according to an exemplary embodiment;
Fig. 5 is the block diagram of a kind of application program discharge mechanism according to another exemplary embodiment;
Fig. 6 is the block diagram of a kind of device for unloading application program according to an exemplary embodiment.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the disclosure.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present disclosure are consistent.
Fig. 1 is the process flow diagram of a kind of application program discharging method according to an exemplary embodiment, as shown in Figure 1, this application program discharging method can be applicable in electronic equipment, and this electronic equipment can be smart mobile phone, panel computer, intelligent television, E-book reader, multimedia player, pocket computer on knee and desk-top computer etc.This application program discharging method comprises the following steps.
In a step 101, receive and remove instruction for what remove desktop folder, this desktop folder is the file comprising the application program that at least one has been installed be positioned on desktop.
In a step 102, receiving after this removes instruction, unloading application thread is created.
In step 103, utilization unloading application thread unloads the application program in desktop folder successively.
In sum, the application program discharging method provided in disclosure embodiment, by receive remove file remove instruction after, unload the application program in this file successively; Due to can all application programs in batch uninstall file folder, therefore solve and once can only unload an application program, when needs unload in a large number application program, the problem that unloading operation step is more; Reach and simplify unloading operation step, improve the effect of unloading operation efficiency.
Fig. 2 A is the process flow diagram of a kind of application program discharging method according to another exemplary embodiment, as shown in Figure 2 A, this application program discharging method can be applicable in electronic equipment, and this electronic equipment can be smart mobile phone, panel computer, intelligent television, E-book reader, multimedia player, pocket computer on knee and desk-top computer etc.This application program discharging method comprises the following steps.
In step 201, receive and remove instruction for what remove desktop folder, this desktop folder is the file comprising the application program that at least one has been installed be positioned on desktop.
Here desktop folder is generally used for depositing mounted application program, such as, this desktop folder can be the desktop folder for depositing game class application program, also can be the desktop folder for storing tools class application program, can also be the desktop folder for depositing polytype application program.
Here remove instruction normally by user by an electronic device operation produce, such as, user can be produced by assigned address desktop folder dragged on desktop and remove instruction; Or, after user can select to need to remove desktop folder under edit pattern, by triggering removing control to produce and remove instruction on desktop.
For example, refer to Fig. 2 B, it is the schematic diagram that a kind of generation according to an exemplary embodiment removes instruction.As shown in Figure 2 B, with the head of a household by desktop folder A, electronic equipment is when detecting that this desktop folder A is exceeded scheduled duration by the duration pinned, and the display of square region removes region 22 for what remove desktop folder or application program on the table.When user this desktop folder A dragged to this remove region 22 and unclamp this desktop folder A time, produce remove this desktop folder A remove instruction.
Electronic equipment receive remove this desktop folder remove instruction after, create unloading application thread, this unloading application thread is for unloading each application program in the desktop folder corresponding with removing instruction successively.The constructive process of this unloading application thread can see following step 202 and step 203.
In step 202., obtain the application information list corresponding with desktop folder, this application information list comprises application program not unloaded in this desktop folder.
Electronic equipment is after receiving and removing instruction, remove instruction and find according to this and remove desktop folder corresponding to instruction with this, and obtain the application information list corresponding with this desktop folder, include each not unloaded application program in this desktop folder in this application information list.
In step 203, the unloading application thread for unloading each application program that application information list comprises is created.
Electronic equipment is when creating unloading application thread, the mark of application program not unloaded in the desktop folder of acquisition is added in this unloading application thread, its objective is in order to unload application thread not unloaded application programs all in desktop folder are unloaded, after the application program corresponding to all marks being added into this unloading application thread has all unloaded, this unloading application thread has also terminated immediately.
For example, application A, application program B and application program C is included in the desktop folder that electronic equipment obtains, when creating unloading application thread, the mark of the mark of application A, the mark of application program B and application program C is added in this unloading application thread by electronic equipment.When electronic equipment calls after application A, application program B and application program C successfully unload by this unloading application thread, this unloading application thread terminates immediately.
Electronic equipment, after establishment unloading application thread, can utilize this unloading application thread to unload application program in desktop folder successively.Detailed description refers to following step 204 to step 209.
In step 204, detect in application information list whether there is not unloaded application program.
Electronic equipment, after obtaining the application information list corresponding with desktop folder, needs to detect in this application information list whether there is not unloaded application program, and performs corresponding operation according to testing result.
In step 205, if there is not unloaded application program in application information list, then desktop folder is removed.
Electronic equipment detect in application information list there is not unloaded application program time, the application program of not installed in the desktop folder corresponding with this application information list is described, now, this desktop folder can directly remove by electronic equipment.
In step 206, if there is not unloaded application program in application information list, then from application information list, choose not unloaded application program, and call unloading application thread and unload the application program chosen.
Electronic equipment detect in application information list there is not unloaded application program time, not unloaded application program can be chosen at random from this application information list, and call unloading application thread and unload the application program chosen.
Optionally, in order to avoid mislanding carries the application program that user also needs to use, before calling unloading application thread unloads the application program chosen, whether electronic equipment can unload this application program to user's query; Or, electronic equipment can detect this application program by frequency of utilization higher than preset frequency threshold value time, whether unload this application program to user's query.
Electronic equipment, after the application program chosen successfully being unloaded, also needs to delete this application program residual risk in the electronic device, refers to following step 207 to step 209.
In step 207, after calling unloading application thread successfully unloads the application program chosen, from the database that desktop starter is safeguarded, record required when showing this unloaded application program is on the table deleted.
Desktop starter, when showing desktop, needs the record of each application program by storing in database to show.After the application program chosen successfully is unloaded, no longer need the record of this application program, and in order to increase storage space available in database, in the database that desktop starter can be safeguarded by electronic equipment, the record corresponding with by the application program that successfully unloads is deleted.
In a step 208, the desktop icons of unloaded application program are deleted.
After the application program chosen successfully is unloaded, the desktop icons of this application program also lost efficacy immediately, and the desktop icons of this application program can be deleted by electronic equipment.
In step 209, unloaded application program is removed from application information list.
In order to avoid electronic equipment is owing to occurring mistake to being performed unloading operation by the application program successfully unloaded, after the application program chosen successfully is unloaded, electronic equipment needs unloaded application program to remove from application information list.Such electronic equipment would not choose this application program again from application information list.
Electronic equipment, after unloaded application program being removed from application information list, performs the step detecting and whether there is not unloaded application program in this application information list, also namely returns step 204, and continues to perform step 204 to step 209.Electronic equipment can be made like this to continue other the not unloaded application program existed in this information list of unloading, until all not unloaded application program completion of discharge that electronic equipment will exist in this information list.
Optionally, when needing the application program of unloading not leave in same desktop folder, after user can select multiple application program and multiple desktop folder under edit pattern, by triggering removing control to produce and remove instruction on desktop.Electronic equipment is receiving after this removes instruction, create unloading application thread, obtain with by application information list corresponding to each application program in multiple application program of selecting and multiple desktop folder, and to be unloaded successively by each application program selected by execution above-mentioned steps 204 to step 209.
In sum, the application program discharging method provided in disclosure embodiment, by receive remove file remove instruction after, unload the application program in this file successively; Due to can all application programs in batch uninstall file folder, therefore solve and once can only unload an application program, when needs unload in a large number application program, the problem that unloading operation step is more; Reach and simplify unloading operation step, improve the effect of unloading operation efficiency.
In addition, by after calling unloading application thread successfully unloads the application program chosen, from the database that desktop starter is safeguarded, delete record required when showing this unloaded application program on the table, and delete the desktop icons of unloaded application program; Due to the residual risk of unloaded application program can be deleted, therefore solve after unloading application program, still there is the problem of the information of unloaded application program in the electronic device; Reach the completeness improving application program unloading.
In order to prevent because some application program cannot successfully be unloaded, and cause electronic equipment cannot terminate unloading application thread, the application program that electronic equipment can be chosen in unsuccessful unloading, or during required when unsuccessful deletion shows unloaded application program on the table in the database safeguarded from desktop starter record, number of times unloaded for this application program is added 1, records the number of times that this application program is unloaded.Electronic equipment, after choose not unloaded application program from application information list, can determine whether to forbid unloading this application program by the number of times unloaded according to this application program.Detailed description refers to following step 301 to 305, separately refers to Fig. 3, and it is a kind of process flow diagram forbidding unloading application program according to an exemplary embodiment.
In step 301, detect in application information list whether there is not unloaded application program.
Before whether electronic equipment exists not unloaded application program in detection application information list, reception is also needed to remove instruction, create unloading application thread and obtain application information list, relevant detailed description see the description in step 201 to step 203 in the embodiment corresponding to above-mentioned Fig. 2, just can repeat no more here.
In step 302, if there is not unloaded application program in application information list, from application information list, then choose not unloaded application program, whether the number of times detecting the unloading of the application program chosen unloaded application thread reaches predetermined unloading threshold value.
In order to prevent after there is the application program that cannot unload, whole uninstall process is made to occur mistake, electronic equipment can record the number of times of the unloaded application thread unloading of each application program, and after choose not unloaded application program from application information list, whether the number of times detecting the unloading of the application program chosen unloaded application thread reaches predetermined unloading threshold value.
The number of times of the thread of the unloaded application of application program here unloading refers to that the not unloaded application thread of this application program unloads successful number of times, and the record in the database safeguarded in desktop starter of this application program is not by the number of times successfully deleted.
In step 303, if the number of times of the application program chosen unloaded application thread unloading reaches predetermined unloading threshold value, then forbid unloading this application program.
Electronic equipment is when detecting that the number of times of the application program chosen unloaded application thread unloading reaches predetermined unloading threshold value, illustrate that this application program cannot be unloaded completely, electronic equipment can be forbidden again unloading this application program, whole uninstall process successfully can be terminated, and can not produce owing to repeating to unload the problem that cannot be produced endless loop by the application program that unloads completely.
This application program, detecting that the number of times of the application program chosen unloaded application thread unloading reaches predetermined unloading threshold value, can remove by electronic equipment from application information list; Or, this application program is also needed to remove the list corresponding to each application program of unloading from this unloading application thread, is again selected to avoid this application program and unloads.
Electronic equipment, after forbidding unloading this application program, needs to continue to perform the step detecting and whether there is not unloaded application program in application information list, also namely returns step 301.
In step 304, if the number of times of the application program chosen unloaded application thread unloading does not reach predetermined unloading threshold value, then call unloading application thread and unload the application program chosen.
Electronic equipment is when detecting that the number of times of the application program chosen unloaded application thread unloading does not reach predetermined unloading threshold value, illustrate that the application program now chosen may successfully be unloaded, electronic equipment can call unloading application thread and unload the application program chosen.
In step 305, after calling the application program that unloading application thread unsuccessful unloading chooses, then number of times unloaded for this application program is added 1.
And after step 305, continue to perform the step detecting and whether there is not unloaded application program in application information list.
The unloaded number of times of this application program, when calling the application program that unloading application thread unsuccessful unloading is chosen, is added 1 by electronic equipment, and the unloaded number of times of more this application program of new record.
After electronic equipment calls unloading application thread successfully unloads the application program chosen, also need to delete record required when showing this unloaded application program on the table the database safeguarded from desktop starter, delete the desktop icons of unloaded application program, and unloaded application program is removed from application information list.Detailed description see the step 207 in embodiment corresponding to Fig. 2 to step 209, just can repeat no more here.
It should be noted that, when successfully delete the database that electronic equipment cannot be safeguarded from desktop starter show this unloaded application program on the table time required record time, also the unloaded number of times of this application program is needed to add 1, and the unloaded number of times of more this application program of new record.
Electronic equipment, after the unloaded number of times of this application program is added 1, needs to continue to perform the step detecting and whether there is not unloaded application program in application information list, also namely returns step 301.
In sum, disclosure embodiment by the unloaded number of times of this application program being added 1 after unsuccessful unloading application program, and when the unloaded number of times of application program acquisition being detected reaches predetermined unloading threshold value, forbids that unloading changes application program; Owing to can forbid unloading the application program that cannot successfully unload, therefore solve owing to repeating to unload the application program that cannot successfully unload and cause the problem that whole uninstall process is made mistakes; Reach the stability improving application program unloading.
It should be noted that, in the embodiment corresponding to above-mentioned Fig. 2 and Fig. 3, step 201 can separately as an embodiment to step 205; Step 201 can separately as an embodiment to step 207 to step 204 and step 206; Step 201 can separately as an embodiment to step 303 to step 203 and step 301; Step 201 to 203, step 301, step 302, step 304 and step 305 can separately as embodiments; Step 201 can separately as an embodiment to step 204, step 206 and step 305.When actual realization, other step can also be had in the embodiment corresponding to above-mentioned Fig. 2 and Fig. 3 to be combined to form different embodiments, just to repeat no more here.
Following is disclosure device embodiment, may be used for performing disclosure embodiment of the method.For the details do not disclosed in disclosure device embodiment, please refer to disclosure embodiment of the method.
Fig. 4 is the block diagram of a kind of application program discharge mechanism according to an exemplary embodiment, as shown in Figure 4, this application program discharge mechanism can be applicable in electronic equipment, and this electronic equipment can be smart mobile phone, panel computer, intelligent television, E-book reader, multimedia player, pocket computer on knee and desk-top computer etc.This application program discharge mechanism can include but not limited to: receiver module 401, creation module 402 and Unload module 403.
This receiver module 401, is configured to receive and removes instruction for what remove desktop folder, and this desktop folder is the file comprising the application program that at least one has been installed be positioned on desktop.
This creation module 402, is configured to after receiver module 401 receives and removes instruction, creates unloading application thread.
This Unload module 403, the unloading application thread being configured to utilize creation module 402 to create unloads the application program in desktop folder successively.
In sum, the application program discharge mechanism provided in disclosure embodiment, by receive remove file remove instruction after, unload the application program in this file successively; Due to can all application programs in batch uninstall file folder, therefore solve and once can only unload an application program, when needs unload in a large number application program, the problem that unloading operation step is more; Reach and simplify unloading operation step, improve the effect of unloading operation efficiency.
Fig. 5 is the block diagram of a kind of application program discharge mechanism according to another exemplary embodiment, as shown in Figure 5, this application program discharge mechanism can be applicable in electronic equipment, and this electronic equipment can be smart mobile phone, panel computer, intelligent television, E-book reader, multimedia player, pocket computer on knee and desk-top computer etc.This application program discharge mechanism can include but not limited to: receiver module 501, creation module 502 and Unload module 503.
This receiver module 501, is configured to receive and removes instruction for what remove desktop folder, and this desktop folder is the file comprising the application program that at least one has been installed be positioned on desktop.
This creation module 502, is configured to after receiver module 501 receives and removes instruction, creates unloading application thread.
This Unload module 503, the unloading application thread being configured to utilize creation module 502 to create unloads the application program in desktop folder successively.
In a kind of possible embodiment, this creation module 502 can comprise: obtain submodule 502a and create submodule 502b.
This acquisition submodule 502a, be configured to obtain the application information list corresponding with desktop folder, this application information list comprises application program not unloaded in desktop folder.
This establishment submodule 502b, is configured to the unloading application thread creating each application program that the application information list for unloading acquisition submodule 502a acquisition comprises.
In a kind of possible embodiment, this Unload module 503 can comprise: detection sub-module 503a and unloading submodule 503b.
This detection sub-module 503a, is configured to detect in application information list whether there is not unloaded application program.
This unloading submodule 503b, be configured to when detection sub-module 503a detect in application information list there is not unloaded application program time, from application information list, choose not unloaded application program, and call unloading application thread and unload the application program chosen.
In a kind of possible embodiment, this application program discharge mechanism can also comprise: the first removing module 504, second removing module 505 and first removes module 506.
This first removing module 504, is configured to, after calling unloading application thread successfully unloads the application program chosen, from the database that desktop starter is safeguarded, delete record required when showing this unloaded application program on the table.
Second removing module 505, is configured to the desktop icons deleting unloaded application program.
First removes module 506, is configured to unloaded application program to remove from application information list.
In a kind of possible embodiment, this application program discharge mechanism can also comprise: first detection module 507.
This first detection module 507, after being configured to the record required when calling application program that unloading application thread unsuccessful unloading chooses or unsuccessful deletion shows this unloaded application program on the table in the database safeguarded from desktop starter, then number of times unloaded for this application program is added 1, continue to detect in this application information list whether there is not unloaded application program.
In a kind of possible embodiment, this application program discharge mechanism can also comprise: the second detection module 508 and disabled module 509.
This second detection module 508, after being configured to choose not unloaded application program from application information list, whether the number of times detecting the unloading of this application program chosen unloaded application thread reaches predetermined unloading threshold value.
Disabled module 509, is configured to, when the second detection module 508 detects that the number of times of the application program chosen unloaded application thread unloading reaches predetermined unloading threshold value, forbid unloading this application program.
In a kind of possible embodiment, this detection sub-module 503a, is also configured to, after unloaded application program being removed from application information list, to detect in this application information list whether there is not unloaded application program.
In a kind of possible embodiment, this application program discharge mechanism can also comprise: second removes module 510.
This second removes module 510, is configured to, when there is not unloaded application program in application information list, remove desktop folder.
In sum, the application program discharge mechanism provided in disclosure embodiment, by receive remove file remove instruction after, unload the application program in this file successively; Due to can all application programs in batch uninstall file folder, therefore solve and once can only unload an application program, when needs unload in a large number application program, the problem that unloading operation step is more; Reach and simplify unloading operation step, improve the effect of unloading operation efficiency.
In addition, by after calling unloading application thread successfully unloads the application program chosen, from the database that desktop starter is safeguarded, delete record required when showing this unloaded application program on the table, and delete the desktop icons of unloaded application program; Due to the residual risk of unloaded application program can be deleted, therefore solve after unloading application program, still there is the problem of the information of unloaded application program in the electronic device; Reach the completeness improving application program unloading.
In addition, by the unloaded number of times of this application program being added 1 after unsuccessful unloading application program, and when the unloaded number of times of application program acquisition being detected reaches predetermined unloading threshold value, forbid that unloading changes application program; Owing to can forbid unloading the application program that cannot successfully unload, therefore solve owing to repeating to unload the application program that cannot successfully unload and cause the problem that whole uninstall process is made mistakes; Reach the stability improving application program unloading.
About the device in above-described embodiment, wherein the concrete mode of modules executable operations has been described in detail in about the embodiment of the method, will not elaborate explanation herein.
The disclosure one exemplary embodiment provides a kind of application program discharge mechanism, can realize the application program discharging method that the disclosure provides, and this application program discharge mechanism comprises: processor, storer for storage of processor executable instruction;
Wherein, processor is configured to:
Receive and remove instruction for what remove desktop folder, this desktop folder is the file comprising the application program that at least one has been installed be positioned on desktop;
After receiving and removing instruction, create unloading application thread;
Utilization unloading application thread unloads the application program in desktop folder successively.
Fig. 6 is the block diagram of a kind of device for unloading application program according to an exemplary embodiment.Such as, device 600 can be the mobile phone of the screen had for showing desktop folder, computing machine, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Fig. 6, device 600 can comprise following one or more assembly: processing components 602, storer 604, power supply module 606, multimedia groupware 608, audio-frequency assembly 610, I/O (I/O) interface 612, sensor module 614, and communications component 616.
The integrated operation of the usual control device 600 of processing components 602, such as with display, call, data communication, camera operation and record operate the operation be associated.Processing components 602 can comprise one or more processor 618 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 602 can comprise one or more module, and what be convenient between processing components 602 and other assemblies is mutual.Such as, processing components 602 can comprise multi-media module, mutual with what facilitate between multimedia groupware 608 and processing components 602.
Storer 604 is configured to store various types of data to be supported in the operation of device 600.The example of these data comprises for any application program of operation on device 600 or the instruction of method, contact data, telephone book data, message, picture, video etc.Storer 604 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), ROM (read-only memory) (ROM), magnetic store, flash memory, disk or CD.
The various assemblies that power supply module 606 is device 600 provide electric power.Power supply module 606 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 600 and be associated.
Multimedia groupware 608 is included in the screen providing an output interface between device 600 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant with touch or slide and pressure.In certain embodiments, multimedia groupware 608 comprises a front-facing camera and/or post-positioned pick-up head.When device 600 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 610 is configured to export and/or input audio signal.Such as, audio-frequency assembly 610 comprises a microphone (MIC), and when device 600 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The sound signal received can be stored in storer 604 further or be sent via communications component 616.In certain embodiments, audio-frequency assembly 610 also comprises a loudspeaker, for output audio signal.
I/O interface 612 is for providing interface between processing components 602 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor module 614 comprises one or more sensor, for providing the state estimation of various aspects for device 600.Such as, sensor module 614 can detect the opening/closing state of device 600, the relative positioning of assembly, such as assembly is display and the keypad of device 600, the position of all right pick-up unit 600 of sensor module 614 or device 600 1 assemblies changes, the presence or absence that user contacts with device 600, the temperature variation of device 600 orientation or acceleration/deceleration and device 600.Sensor module 614 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor module 614 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor module 614 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 616 is configured to the communication being convenient to wired or wireless mode between device 600 and other equipment.Device 600 can access the wireless network based on communication standard, as Wi-Fi, 2G or 3G, or their combination.In one exemplary embodiment, communications component 616 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, communications component 616 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 600 can be realized, for performing above-mentioned application program discharging method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD) (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the storer 604 of instruction, above-mentioned instruction can perform above-mentioned application program discharging method by the processor 618 of device 600.Such as, non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
Those skilled in the art, at consideration instructions and after putting into practice invention disclosed herein, will easily expect other embodiment of the present disclosure.The application is intended to contain any modification of the present disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present disclosure and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Instructions and embodiment are only regarded as exemplary, and true scope of the present disclosure and spirit are pointed out by claim below.
Should be understood that, the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.The scope of the present disclosure is only limited by appended claim.

Claims (17)

1. an application program discharging method, is characterized in that, described method comprises:
Receive and remove instruction for what remove desktop folder, described desktop folder is the file comprising the application program that at least one has been installed be positioned on desktop;
After removing instruction described in receiving, create unloading application thread;
Described unloading application thread is utilized to unload application program in described desktop folder successively.
2. method according to claim 1, is characterized in that, described after removing instruction described in receiving, and creates unloading application thread, comprising:
Obtain the application information list corresponding with described desktop folder, described application information list comprises application program not unloaded in described desktop folder;
Create the unloading application thread for unloading each application program that described application information list comprises.
3. method according to claim 2, is characterized in that, describedly utilizes described unloading application thread to unload application program in described desktop folder successively, comprising:
Detect in described application information list and whether there is not unloaded application program;
If there is not unloaded application program in described application information list, then from described application information list, choose not unloaded application program, and call described unloading application thread and unload the described application program chosen.
4. method according to claim 3, is characterized in that, described method also comprises:
After calling described unloading application thread successfully unloads the described application program chosen, from the database that desktop starter is safeguarded, delete the record required when described desktop shows unloaded described application program;
Delete the desktop icons of unloaded described application program;
Unloaded described application program is removed from described application information list.
5. method according to claim 4, is characterized in that, described method also comprises:
After calling the described application program that described unloading application thread unsuccessful unloading chooses or the record that unsuccessful deletion is required when described desktop shows unloaded described application program in the database safeguarded from described desktop starter, then number of times unloaded for described application program is added 1, continue to perform the step that whether there is not unloaded application program in the described application information list of described detection.
6. method according to claim 5, is characterized in that, described method also comprises:
Choose not unloaded application program from described application information list after, detect the described application program chosen and whether reached predetermined unloading threshold value by the number of times of described unloading application thread unloading;
If the described application program chosen is reached described predetermined unloading threshold value by the number of times of described unloading application thread unloading, then forbid unloading described application program.
7. method according to claim 3, is characterized in that, described method also comprises:
After unloaded described application program being removed from described application information list, perform the step that whether there is not unloaded application program in the described application information list of described detection.
8., according to the arbitrary described method of claim 2 to 7, it is characterized in that, described method also comprises:
If there is not unloaded application program in described application information list, then remove described desktop folder.
9. an application program discharge mechanism, is characterized in that, described device comprises:
Receiver module, is configured to receive and removes instruction for what remove desktop folder, and described desktop folder is the file comprising the application program that at least one has been installed be positioned on desktop;
Creation module, after removing instruction, creates unloading application thread described in being configured to receive at described receiver module;
Unload module, the described unloading application thread being configured to utilize described creation module to create unloads the application program in described desktop folder successively.
10. device according to claim 9, is characterized in that, described creation module, comprising:
Obtain submodule, be configured to obtain the application information list corresponding with described desktop folder, described application information list comprises application program not unloaded in described desktop folder;
Creating submodule, being configured to the unloading application thread creating each application program that the described application information list for unloading the acquisition of described acquisition submodule comprises.
11. devices according to claim 10, is characterized in that, described Unload module, comprising:
Detection sub-module, is configured to detect in described application information list whether there is not unloaded application program;
Unloading submodule, be configured to when described detection sub-module detect in described application information list there is not unloaded application program time, from described application information list, choose not unloaded application program, and call described unloading application thread and unload the described application program chosen.
12. devices according to claim 11, is characterized in that, described device also comprises:
First removing module, is configured to, after calling described unloading application thread successfully unloads the described application program chosen, from the database that desktop starter is safeguarded, delete the record required when described desktop shows unloaded described application program;
Second removing module, is configured to the desktop icons deleting unloaded described application program;
First removes module, is configured to unloaded described application program to remove from described application information list.
13. devices according to claim 12, is characterized in that, described device also comprises:
First detection module, be configured to after calling the described application program that described unloading application thread unsuccessful unloading chooses or the record that unsuccessful deletion is required when described desktop shows unloaded described application program in the database safeguarded from described desktop starter, then number of times unloaded for described application program is added 1, continue to detect in described application information list whether there is not unloaded application program.
14. devices according to claim 13, is characterized in that, described device also comprises:
Second detection module, after being configured to choose not unloaded application program from described application information list, detecting the described application program chosen and whether is reached predetermined unloading threshold value by the number of times of described unloading application thread unloading;
Disabled module, is configured to, when described second detection module detects that the described application program chosen is reached described predetermined unloading threshold value by the number of times of described unloading application thread unloading, forbid unloading described application program.
15. devices according to claim 11, it is characterized in that, described detection sub-module, is also configured to, after unloaded described application program being removed from described application information list, to detect in described application information list whether there is not unloaded application program.
16. according to claim 10 to 15 arbitrary described devices, and it is characterized in that, described device also comprises:
Second removes module, is configured to, when there is not unloaded application program in described application information list, remove described desktop folder.
17. 1 kinds of application program discharge mechanisms, is characterized in that, described device comprises:
Processor;
For storing the storer of described processor executable;
Wherein, described processor is configured to:
Receive and remove instruction for what remove desktop folder, described desktop folder is the file comprising the application program that at least one has been installed be positioned on desktop;
After removing instruction described in receiving, create unloading application thread;
Described unloading application thread is utilized to unload application program in described desktop folder successively.
CN201510142864.1A 2015-03-27 2015-03-27 Application program discharging method and device Active CN104793969B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510142864.1A CN104793969B (en) 2015-03-27 2015-03-27 Application program discharging method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510142864.1A CN104793969B (en) 2015-03-27 2015-03-27 Application program discharging method and device

Publications (2)

Publication Number Publication Date
CN104793969A true CN104793969A (en) 2015-07-22
CN104793969B CN104793969B (en) 2018-10-19

Family

ID=53558785

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510142864.1A Active CN104793969B (en) 2015-03-27 2015-03-27 Application program discharging method and device

Country Status (1)

Country Link
CN (1) CN104793969B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105739826A (en) * 2016-01-29 2016-07-06 深圳天珑无线科技有限公司 Method and equipment for rapidly uninstalling multiple application programs
CN105824662A (en) * 2015-12-25 2016-08-03 维沃移动通信有限公司 Application program uninstalling method and electronic equipment
CN105868338A (en) * 2016-03-28 2016-08-17 北京小米移动软件有限公司 Application processing method and device
CN106201680A (en) * 2016-06-29 2016-12-07 宇龙计算机通信科技(深圳)有限公司 Method, device and the terminal that a kind of application is freezed
CN106528073A (en) * 2016-06-28 2017-03-22 努比亚技术有限公司 Terminal and terminal application uninstalling method
CN107018433A (en) * 2016-01-27 2017-08-04 晨星半导体股份有限公司 TV managing device and TV management method with combination remote controller
CN107463416A (en) * 2017-08-22 2017-12-12 广东小天才科技有限公司 A kind of application management method, application program management device and intelligent terminal
CN109828795A (en) * 2018-12-28 2019-05-31 努比亚技术有限公司 A kind of apparatus control method, terminal and computer readable storage medium
CN109828704A (en) * 2018-12-28 2019-05-31 努比亚技术有限公司 A kind of electronic equipment control method, terminal and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1331817A (en) * 1998-11-25 2002-01-16 电脑联合想象公司 Method and appts. for concurrent DBMS table operations
US20040250265A1 (en) * 2003-03-25 2004-12-09 Brother Kogyo Kabushiki Kaisha Uninstall system
CN103577417A (en) * 2012-07-23 2014-02-12 腾讯科技(深圳)有限公司 Desktop cleaning method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1331817A (en) * 1998-11-25 2002-01-16 电脑联合想象公司 Method and appts. for concurrent DBMS table operations
US20040250265A1 (en) * 2003-03-25 2004-12-09 Brother Kogyo Kabushiki Kaisha Uninstall system
CN103577417A (en) * 2012-07-23 2014-02-12 腾讯科技(深圳)有限公司 Desktop cleaning method and device

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105824662A (en) * 2015-12-25 2016-08-03 维沃移动通信有限公司 Application program uninstalling method and electronic equipment
CN105824662B (en) * 2015-12-25 2021-06-15 维沃移动通信有限公司 Application program unloading method and electronic equipment
CN107018433A (en) * 2016-01-27 2017-08-04 晨星半导体股份有限公司 TV managing device and TV management method with combination remote controller
CN105739826A (en) * 2016-01-29 2016-07-06 深圳天珑无线科技有限公司 Method and equipment for rapidly uninstalling multiple application programs
CN105868338A (en) * 2016-03-28 2016-08-17 北京小米移动软件有限公司 Application processing method and device
CN106528073A (en) * 2016-06-28 2017-03-22 努比亚技术有限公司 Terminal and terminal application uninstalling method
CN106201680A (en) * 2016-06-29 2016-12-07 宇龙计算机通信科技(深圳)有限公司 Method, device and the terminal that a kind of application is freezed
CN107463416A (en) * 2017-08-22 2017-12-12 广东小天才科技有限公司 A kind of application management method, application program management device and intelligent terminal
CN109828795A (en) * 2018-12-28 2019-05-31 努比亚技术有限公司 A kind of apparatus control method, terminal and computer readable storage medium
CN109828704A (en) * 2018-12-28 2019-05-31 努比亚技术有限公司 A kind of electronic equipment control method, terminal and computer readable storage medium
CN109828704B (en) * 2018-12-28 2022-05-17 潍坊华瑞网络科技有限公司 Electronic equipment control method, terminal and computer readable storage medium

Also Published As

Publication number Publication date
CN104793969B (en) 2018-10-19

Similar Documents

Publication Publication Date Title
CN104793969A (en) Application program unloading method and device
CN104156149B (en) Acquisition parameters control method and device
CN104808501A (en) Intelligent scene deleting method and device
CN105472587A (en) Incoming call processing method and device
CN105225096A (en) The disposal route of reminder announced message, device and terminal
CN104301204A (en) Unread communication message aggregation method and device
CN104834665A (en) Target picture acquiring method and device
CN105488112A (en) Information pushing method and device
CN104375828A (en) Method and device for optimizing memory
CN104536783A (en) Method and device for setting reserved space
CN104331237A (en) Method and device for starting application programs
CN106095407A (en) icon arrangement method, device and mobile device
CN104735670A (en) Network access method and device
CN104978141A (en) Picture management method, device and terminal
CN105246068A (en) Method and device for selecting SIM (Subscriber Identity Module) card
CN105554215A (en) Automatic selection dialing method and device, and mobile terminal
CN105487773A (en) Screen capturing method and device
CN104484122A (en) Processing method and device for unlocking screen
CN105450835A (en) Method and device for realizing emergency contact and smart terminal
CN105426210A (en) Method and device for upgrading system
CN104714826A (en) Application theme loading method and device
CN104850643A (en) Image comparison method and device
CN105205093A (en) Method and device for processing images in image library
CN104463047A (en) Device and method for control modules to work
CN104407788A (en) Image deleting method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant