CN104793969B - Application program discharging method and device - Google Patents

Application program discharging method and device Download PDF

Info

Publication number
CN104793969B
CN104793969B CN201510142864.1A CN201510142864A CN104793969B CN 104793969 B CN104793969 B CN 104793969B CN 201510142864 A CN201510142864 A CN 201510142864A CN 104793969 B CN104793969 B CN 104793969B
Authority
CN
China
Prior art keywords
application program
unloaded
unloading
application
desktop
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510142864.1A
Other languages
Chinese (zh)
Other versions
CN104793969A (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.)
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

Landscapes

  • Stored Programmes (AREA)

Abstract

The disclosure discloses a kind of application program discharging method and device, belongs to field of computer technology.The application program discharging method includes:It receives the removal for removing desktop folder to instruct, the desktop folder is the file for including at least one installed application program being located on desktop;After receiving the removal instruction, creates unloading and apply thread;The application program in the desktop folder is unloaded successively using thread using the unloading.By after receiving the removal for removing file instruction, unloading the application program in this document folder successively;Due to all application programs that can be in batch uninstall file folder, an application program can only once be unloaded by solving, when needing a large amount of unloading application program, the more problem of unloading operation step;Reach simplified unloading operation step, improves the effect of unloading operation efficiency.

Description

Application program discharging method and device
Technical field
This disclosure relates to field of computer technology, more particularly to a kind of application program discharging method and device.
Background technology
In order to allow electronic equipment to realize multiple functions, it usually needs install corresponding application program in the electronic device.And When no longer needing using certain application program, in order to avoid it holds over memory space, which can be executed and be unloaded Carry operation.
Current electronic equipment needs receiving what the determining needs of user's selection unloaded when unloading multiple application programs After first application program, electronic equipment could unload first application program;It needs to unload receiving user and selecting to determine After second application program carried, electronic equipment could unload second application program;And complete to unload multiple answer with this Use program.
Invention content
A kind of application program discharging method of disclosure offer and device.The technical solution is as follows:
According to the first aspect of the embodiments of the present disclosure, a kind of application program discharging method is provided, the method includes:
It receives the removal for removing desktop folder to instruct, the desktop folder is on desktop including at least The file of one installed application program;
After receiving the removal instruction, creates unloading and apply thread;
The application program in the desktop folder is unloaded successively using thread using the unloading.
According to the second aspect of the embodiment of the present disclosure, a kind of application program discharge mechanism is provided, described device includes:
Receiving module is configured as receiving the removal for removing desktop folder and instructs, and the desktop folder is position In the file for including at least one installed application program on desktop;
Creation module is configured as after the receiving module receives the removal instruction, creates unloading and apply thread;
Unload module is configured as unloading the table successively using the unloading application thread that the creation module creates Application program in the file of face.
According to the third aspect of the embodiment of the present disclosure, a kind of application program discharge mechanism is provided, described device includes:
Processor;
Memory for storing the processor-executable instruction;
Wherein, the processor is configured as:
It receives the removal for removing desktop folder to instruct, the desktop folder is on desktop including at least The file of one installed application program;
After receiving the removal instruction, creates unloading and apply thread;
The application program in the desktop folder is unloaded successively using thread using the unloading.
The technical scheme provided by this disclosed embodiment can include the following benefits:
By after receiving the removal for removing file instruction, unloading the application program in this document folder successively;Due to All application programs that can be in batch uninstall file folder, therefore solve and can only once unload an application program, work as needs When a large amount of unloading application programs, the more problem of unloading operation step;Reach simplified unloading operation step, improves unloading operation The effect of efficiency.
It should be understood that above general description and following detailed description is merely exemplary, this can not be limited It is open.
Description of the drawings
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure Example, and consistent with the instructions for explaining the principles of this disclosure.
Fig. 1 is a kind of flow chart of application program discharging method shown according to an exemplary embodiment;
Fig. 2A is a kind of flow chart of the application program discharging method shown according to another exemplary embodiment;
Fig. 2 B are that a kind of generation shown according to an exemplary embodiment removes the schematic diagram instructed;
Fig. 3 is a kind of flow chart for forbidding unloading application program shown according to an exemplary embodiment;
Fig. 4 is a kind of block diagram of application program discharge mechanism shown according to an exemplary embodiment;
Fig. 5 is a kind of block diagram of the application program discharge mechanism shown according to another exemplary embodiment;
Fig. 6 is a kind of block diagram for unloading the device of application program shown according to an exemplary embodiment.
Specific implementation mode
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
Fig. 1 is a kind of flow chart of application program discharging method shown according to an exemplary embodiment, as shown in Figure 1, The application program discharging method can be applied in electronic equipment, which can be smart mobile phone, tablet computer, intelligence electricity Depending on, E-book reader, multimedia player, pocket computer on knee and desktop computer etc..The application program unloads Method includes the following steps.
In a step 101, it receives the removal for removing desktop folder to instruct, which be located on desktop The file for including at least one installed application program.
In a step 102, it after receiving removal instruction, creates unloading and applies thread.
In step 103, the application program in desktop folder is unloaded successively using thread using unloading.
In conclusion the application program discharging method provided in the embodiment of the present disclosure, by receiving removal file Removal instruction after, successively unload this document folder in application program;Due to can batch uninstall file folder in all applications Program, therefore solve and can only once unload an application program, when needing a large amount of unloading application programs, unloading operation step More problem;Reach simplified unloading operation step, improves the effect of unloading operation efficiency.
Fig. 2A is a kind of flow chart of the application program discharging method shown according to another exemplary embodiment, such as Fig. 2A institutes Show, which can be applied in electronic equipment, which can be smart mobile phone, tablet computer, intelligence Energy TV, E-book reader, multimedia player, pocket computer on knee and desktop computer etc..The application program Discharging method includes the following steps.
In step 201, it receives the removal for removing desktop folder to instruct, which be located on desktop The file for including at least one installed application program.
Here desktop folder is commonly used in storing mounted application program, for example, the desktop folder can be Desktop folder for storing game class application program can also be the desk file for storing tools class application program Folder, can also be the desktop folder for storing a plurality of types of application programs.
Here removal instruction typically by user by operating generation on an electronic device, for example, user can lead to It crosses and the designated position that desktop folder drags on desktop is removed into instruction to generate;Alternatively, user can be under edit pattern Selection needs after removing desktop folder, and instruction is removed to generate by triggering the removal control on desktop.
For example, Fig. 2 B are referred to, are that a kind of generation shown according to an exemplary embodiment removes showing for instruction It is intended to.As shown in Figure 2 B, user's long-press desktop folder A, electronic equipment is in the duration for detecting that desktop folder A is pinned When more than scheduled duration, square region shows the removal region 22 for removing desktop folder or application program on the table.When When desktop folder A is dragged to the removal region 22 and unclamps desktop folder A by user, generates and remove the desk file Press from both sides the removal instruction of A.
Electronic equipment creates unloading and applies thread, the unloading after receiving the removal for removing desktop folder instruction Using thread for each application program in the desktop folder corresponding with instruction is removed of unloading successively.The unloading application thread Establishment process can be found in following step 202 and step 203.
In step 202, application information list corresponding with desktop folder is obtained, which includes the table The application program not being unloaded in the file of face.
Electronic equipment finds desktop text corresponding with removal instruction after receiving removal instruction, according to removal instruction Part presss from both sides, and obtains application information list corresponding with the desktop folder, includes the desk file in the application information list Each application program not being unloaded in folder.
In step 203, the unloading application line for unloading each application program that application information list is included is created Journey.
Electronic equipment is when creating unloading using thread, by the application program not being unloaded in the desktop folder of acquisition Mark is added in the unloading application thread, and its purpose is to unload not to be unloaded to all in desktop folder using thread Application program unloaded, the application program corresponding to all marks for being added to the unloading application thread unloads completion Afterwards, which also terminates immediately.
For example, electronic equipment obtain desktop folder in include application program A, application program B and apply journey Sequence C, when creating unloading using thread, electronic equipment is by the mark of application program A, the mark of application program B and application program C Mark be added in the unloading application thread.When electronic equipment calls the unloading application thread by application program A, application program After B and application program C is successfully unloaded, which terminates immediately.
Electronic equipment can unload desktop folder successively after creating unloading using thread using the unloading application thread In application program.Detailed description refers to following step 204 to step 209.
In step 204, it detects in application information list with the presence or absence of the application program not being unloaded.
Electronic equipment needs to detect the application information list after obtaining application information list corresponding with desktop folder In with the presence or absence of the application program that is not unloaded, and according to testing result execute corresponding operation.
In step 205, if there is no the application program not being unloaded in application information list, desk file is removed Folder.
Electronic equipment, there is no when the application program not being unloaded, is illustrating and the application in detecting application information list There is no installed application program in the corresponding desktop folder of information list, at this point, electronic equipment can be directly by the table Face file removes.
In step 206, if there is the application program not being unloaded in application information list, from application information list The application program chosen an application program not being unloaded, and unloading is called to be chosen using thread unloading.
Electronic equipment can be answered from this at random when there is the application program not being unloaded in detecting application information list With the application program chosen an application program not being unloaded in information list, and unloading is called to be chosen using thread unloading.
Optionally, the application program used is also needed in order to avoid mislanding carries user, is unloaded using thread calling unloading Before the application program of selection, whether electronic equipment can requry the users unloads the application program;Alternatively, electronic equipment can be with It is detecting when being higher than preset frequency threshold value by frequency of use of the application program, is requrying the users and whether unload this using journey Sequence.
Electronic equipment is after the application program that will be chosen successfully unloads, it is also necessary to delete the application program in electronic equipment In residual risk, refer to following step 207 to step 209.
In step 207, it after calling unloading successfully to unload the application program of selection using thread, is tieed up from desktop starter Record required when showing the application program being unloaded on the table is deleted in the database of shield.
Desktop starter needs the record by each application program stored in database to carry out when showing desktop Display.After the application program of selection is successfully unloaded, it is no longer necessary to the record of the application program, and in order to increase in database Available memory space, in the database that electronic equipment can safeguard desktop starter with the application program pair that is successfully unloaded The record answered is deleted.
In a step 208, the desktop icons for the application program being unloaded are deleted.
After the application program of selection is successfully unloaded, the desktop icons of the application program also fail immediately, electronic equipment The desktop icons of the application program can be deleted.
In step 209, the application program being unloaded is removed from application information list.
In order to avoid there is mistake due to executing unloading operation to the application program successfully unloaded in electronic equipment, After the application program of selection is successfully unloaded, electronic equipment needs move the application program being unloaded from application information list It removes.Electronic equipment would not be chosen from application information list to the application program again in this way.
Electronic equipment after being removed in application information list, executes by the application program being unloaded and detects the application message The step of in list with the presence or absence of the application program not being unloaded namely return to step 204, and step 204 is continued to execute to step Rapid 209.Electronic equipment can be made to continue to unload other application programs not being unloaded present in the information list in this way, directly To electronic equipment by all application program completions of discharge not being unloaded present in the information list.
Optionally, when needing the application program that unloads not to be stored in the same desktop folder, user can be After selecting multiple application programs and multiple desktop folders under edit pattern, generated by triggering the removal control on desktop Remove instruction.Electronic equipment creates unloading and applies thread, obtain and selected multiple applications after receiving removal instruction The corresponding application information list of each application program in program and multiple desktop folders, and by executing above-mentioned steps 204 unload selected each application program to step 209 successively.
In conclusion the application program discharging method provided in the embodiment of the present disclosure, by receiving removal file Removal instruction after, successively unload this document folder in application program;Due to can batch uninstall file folder in all applications Program, therefore solve and can only once unload an application program, when needing a large amount of unloading application programs, unloading operation step More problem;Reach simplified unloading operation step, improves the effect of unloading operation efficiency.
In addition, by after calling unloading successfully to unload the application program of selection using thread, safeguarded from desktop starter Database in delete record required when showing the application program being unloaded on the table, and delete the application journey being unloaded The desktop icons of sequence;It is unloaded the residual risk of application program due to that can delete, solves after unloading application program, The problem of still remaining the information for being unloaded application program in the electronic device;Reach and has improved the complete of application program unloading Property.
In order to prevent since certain application programs can not be unloaded successfully, and cause electronic equipment that can not terminate unloading application Thread, the application program that electronic equipment can be chosen in failed unloading, or in the database safeguarded from desktop starter It is failed to delete the number that when showing record required when the application program being unloaded on the table, which is unloaded Add 1, records the number that the application program is unloaded.Electronic equipment from application information list choose one be not unloaded answer After program, it can determine whether to forbid to unload the application program according to the number that the application program is unloaded.In detail Thin description refers to following step 301 to 305, additionally referring to Fig. 3, is forbidden according to one kind shown in an exemplary embodiment Unload the flow chart of application program.
In step 301, it detects in application information list with the presence or absence of the application program not being unloaded.
Electronic equipment whether there is in detecting application information list before the application program not being unloaded, it is also necessary to receive Instruction is removed, create unloading using thread and obtains application information list, relevant detailed description may refer to above-mentioned Fig. 2 institutes Description in corresponding embodiment in step 201 to step 203, just repeats no more here.
In step 302, if there is the application program not being unloaded in application information list, from application information list An application program not being unloaded is chosen, the application program for detecting selection is unloaded whether the number unloaded using thread reaches Predetermined unloading threshold value.
In order to prevent after the application program for occurring not unloading so that mistake, electronic equipment occurs in entire uninstall process Each application program can be recorded and be unloaded the number unloaded using thread, and chosen from application information list one not by After the application program of unloading, the application program for detecting selection is unloaded whether the number unloaded using thread reaches predetermined unloading threshold Value.
Here it refers to that the application program is not unloaded and is unloaded using thread that application program, which is unloaded the number unloaded using thread, Carry time that the record of successful number and the application program in the database that desktop starter is safeguarded is not deleted successfully Number.
In step 303, if the application program chosen is unloaded the number unloaded using thread and reaches predetermined unloading threshold value, Then forbid unloading the application program.
Electronic equipment is unloaded the number unloaded using thread in the application program for detecting selection and reaches predetermined unloading threshold When value, illustrate that the application program can not be unloaded completely, electronic equipment can be forbidden again unloading the application program, make Obtaining entire uninstall process can successfully terminate, and be produced without will produce due to repeatedly unloading the application program that can not be unloaded completely The problem of life and death recycles.
Electronic equipment is unloaded the number unloaded using thread in the application program for detecting selection and reaches predetermined unloading threshold Value, can remove the application program from application information list;Alternatively, the application program is also needed from the unloading application thread It is removed in list corresponding to each application program to be unloaded, is selected for unloading again to avoid the application program.
After forbidding unloading the application program, need to continue to execute in detection application information list is electronic equipment It is no to there is the step of application program not being unloaded namely return to step 301.
In step 304, if the application program chosen is unloaded the not up to predetermined unloading threshold of number unloaded using thread Value, the then application program for calling unloading to be chosen using thread unloading.
Electronic equipment is unloaded the not up to predetermined unloading of number unloaded using thread in the application program for detecting selection When threshold value, illustrate that the application program chosen at this time may be unloaded successfully, electronic equipment can call unloading to be unloaded using thread Carry the application program chosen.
In step 305, after calling unloading to unload the application program of selection not successfully using thread, then this is applied into journey The number that sequence is unloaded adds 1.
And after step 305, it continues to execute in detection application information list with the presence or absence of the application program not being unloaded The step of.
Electronic equipment is when calling unloading to unload the application program of selection not successfully using thread, by the quilt of the application program The number of unloading adds 1, and the number of the application program of more new record being unloaded.
After electronic equipment calls unloading successfully to unload the application program of selection using thread, it is also necessary to from desktop starter Record required when showing the application program being unloaded on the table is deleted in the database of maintenance, deletes the application being unloaded The desktop icons of program, and the application program being unloaded is removed from application information list.Detailed description may refer to Fig. 2 Step 207 in corresponding embodiment just repeats no more here to step 209.
It should be noted that when electronic equipment can not successfully be deleted on the table from the database that desktop starter is safeguarded When showing record required when the application program being unloaded, it is also desirable to the number of the application program being unloaded be added 1, and more The number of the application program of new record being unloaded.
Electronic equipment needs to continue to execute detection application message row after the number of the application program being unloaded is added 1 The step of in table with the presence or absence of the application program not being unloaded namely return to step 301.
In conclusion the embodiment of the present disclosure passes through being unloaded the application program after unloading application program not successfully Number adds 1, and when the number of the application program for detecting acquisition being unloaded reaches predetermined unloading threshold value, forbids unloading to change and answer Use program;Due to the application program that unloading can be forbidden not unload successfully, solving can not succeed due to repeating unloading The application program of unloading and the problem of cause entire uninstall process to malfunction;The stability for improving application program unloading is reached.
It should be noted that in embodiment corresponding to above-mentioned Fig. 2 and Fig. 3, step 201 to step 205 can individually be made For one embodiment;Step 201 to step 204 and step 206 to step 207 can be separately as one embodiment;Step 201 It can be separately as one embodiment to step 203 and step 301 to step 303;Step 201 is to 203, step 301, step 302, step 304 and step 305 can be separately as one embodiment;Step 201 is to step 204, step 206 and step 305 It can be separately as one embodiment.In actual implementation, there can also be other in the embodiment corresponding to above-mentioned Fig. 2 and Fig. 3 The step of combine to form different embodiments, just repeat no more here.
Following is embodiment of the present disclosure, can be used for executing embodiments of the present disclosure.It is real for disclosure device Undisclosed details in example is applied, embodiments of the present disclosure is please referred to.
Fig. 4 is a kind of block diagram of application program discharge mechanism shown according to an exemplary embodiment, as shown in figure 4, should Application program discharge mechanism can be applied in electronic equipment, which can be smart mobile phone, tablet computer, intelligence electricity Depending on, E-book reader, multimedia player, pocket computer on knee and desktop computer etc..The application program unloads Device can include but is not limited to:Receiving module 401, creation module 402 and Unload module 403.
The receiving module 401 is configured as receiving the removal for removing desktop folder and instructs, which is The file for including at least one installed application program on desktop.
The creation module 402 is configured as after receiving module 401 receives removal instruction, is created unloading and is applied thread.
The Unload module 403 is configured as unloading desktop text successively using the unloading application thread that creation module 402 creates Application program in part folder.
In conclusion the application program discharge mechanism provided in the embodiment of the present disclosure, by receiving removal file Removal instruction after, successively unload this document folder in application program;Due to can batch uninstall file folder in all applications Program, therefore solve and can only once unload an application program, when needing a large amount of unloading application programs, unloading operation step More problem;Reach simplified unloading operation step, improves the effect of unloading operation efficiency.
Fig. 5 is a kind of block diagram of the application program discharge mechanism shown according to another exemplary embodiment, as shown in figure 5, The application program discharge mechanism can be applied in electronic equipment, which can be smart mobile phone, tablet computer, intelligence electricity Depending on, E-book reader, multimedia player, pocket computer on knee and desktop computer etc..The application program unloads Device can include but is not limited to:Receiving module 501, creation module 502 and Unload module 503.
The receiving module 501 is configured as receiving the removal for removing desktop folder and instructs, which is The file for including at least one installed application program on desktop.
The creation module 502 is configured as after receiving module 501 receives removal instruction, is created unloading and is applied thread.
The Unload module 503 is configured as unloading desktop text successively using the unloading application thread that creation module 502 creates Application program in part folder.
In a kind of possible embodiment, which may include:Acquisition submodule 502a and establishment submodule 502b。
Acquisition submodule 502a is configured as obtaining application information list corresponding with desktop folder, the application letter It includes the application program not being unloaded in desktop folder to cease list.
Establishment submodule 502b is configured as creating the application information list obtained for unloading acquisition submodule 502a Including each application program unloading application thread.
In a kind of possible embodiment, which may include:Detection sub-module 503a and unloading submodule 503b。
Detection sub-module 503a is configured as in detection application information list with the presence or absence of the application journey not being unloaded Sequence.
Unloading submodule 503b, be configured as when detection sub-module 503a detect in application information list exist not by When the application program of unloading, an application program not being unloaded is chosen from application information list, and unloading is called to apply line The application program that journey unloading is chosen.
In a kind of possible embodiment, which can also include:First removing module 504, Two removing modules 505 and the first remove module 506.
First removing module 504 is configured as after calling unloading successfully to unload the application program of selection using thread, Record required when showing the application program being unloaded on the table is deleted from the database that desktop starter is safeguarded.
Second removing module 505 is configured as deleting the desktop icons for the application program being unloaded.
First remove module 506, the application program for being configured as to be unloaded are removed from application information list.
In a kind of possible embodiment, which can also include:First detection module 507.
The first detection module 507 is configured as in the application program for calling unloading that thread is applied to unload selection not successfully Or it is deleted not successfully in the database safeguarded from desktop starter required when showing the application program being unloaded on the table Record after, then the number that the application program is unloaded is added 1, continued to detect in the application information list with the presence or absence of not unloaded The application program of load.
In a kind of possible embodiment, which can also include:Second detection module 508 and taboo Only module 509.
Second detection module 508 is configured as choosing an application program not being unloaded from application information list Afterwards, the application program for detecting selection is unloaded whether the number unloaded using thread reaches predetermined unloading threshold value.
Disabled module 509 is configured as detecting that the application program of selection is unloaded using line when the second detection module 508 When the number of journey unloading reaches predetermined unloading threshold value, forbid unloading the application program.
In a kind of possible embodiment, detection sub-module 503a is additionally configured in the application program that will be unloaded After being removed in application information list, detect in the application information list with the presence or absence of the application program not being unloaded.
In a kind of possible embodiment, which can also include:Second remove module 510.
Second remove module 510 is configured as when the application program not being unloaded is not present in application information list, Remove desktop folder.
In conclusion the application program discharge mechanism provided in the embodiment of the present disclosure, by receiving removal file Removal instruction after, successively unload this document folder in application program;Due to can batch uninstall file folder in all applications Program, therefore solve and can only once unload an application program, when needing a large amount of unloading application programs, unloading operation step More problem;Reach simplified unloading operation step, improves the effect of unloading operation efficiency.
In addition, by after calling unloading successfully to unload the application program of selection using thread, safeguarded from desktop starter Database in delete record required when showing the application program being unloaded on the table, and delete the application journey being unloaded The desktop icons of sequence;It is unloaded the residual risk of application program due to that can delete, solves after unloading application program, The problem of still remaining the information for being unloaded application program in the electronic device;Reach and has improved the complete of application program unloading Property.
In addition, by the way that the number of the application program being unloaded is added 1 after unloading application program not successfully, and when detection When reaching predetermined unloading threshold value to the number being unloaded of the application program of acquisition, unloading is forbidden to change application program;Due to can Forbid unloading can not succeed unload application program, therefore solve due to repeat unloading can not succeed unload application program and The problem of causing entire uninstall process to malfunction;The stability for improving application program unloading is reached.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, explanation will be not set forth in detail herein.
One exemplary embodiment of the disclosure provides a kind of application program discharge mechanism, can realize answering for disclosure offer With program unloading method, which includes:Processor, the storage for storing processor-executable instruction Device;
Wherein, processor is configured as:
It receives the removal for removing desktop folder to instruct, which is on desktop including at least one The file of a installed application program;
After receiving removal instruction, creates unloading and apply thread;
The application program in desktop folder is unloaded successively using thread using unloading.
Fig. 6 is a kind of block diagram for unloading the device of application program shown according to an exemplary embodiment.For example, dress It can be the mobile phone with the screen for showing desktop folder, computer, digital broadcast terminal, message receipts to set 600 Send out equipment, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc..
With reference to Fig. 6, device 600 may include following one or more components:Processing component 602, memory 604, power supply Component 606, multimedia component 608, audio component 610, input/output (I/O) interface 612, sensor module 614, Yi Jitong Believe component 616.
The integrated operation of 602 usual control device 600 of processing component, such as with display, call, data communication, phase Machine operates and record operates associated operation.Processing component 602 may include that one or more processors 618 refer to execute It enables, to perform all or part of the steps of the methods described above.In addition, processing component 602 may include one or more modules, just Interaction between processing component 602 and other assemblies.For example, processing component 602 may include multi-media module, it is more to facilitate Interaction between media component 608 and processing component 602.
Memory 604 is configured as storing various types of data to support the operation in device 600.These data are shown Example includes instruction for any application program or method that are operated on device 600, contact data, and telephone book data disappears Breath, picture, video etc..Memory 604 can be by any kind of volatibility or non-volatile memory device or their group It closes and realizes, such as static RAM (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 606 provides electric power for the various assemblies of device 600.Power supply module 606 may include power management system System, one or more power supplys and other generated with for device 600, management and the associated component of distribution electric power.
Multimedia component 608 is included in the screen of one output interface of offer between device 600 and user.In some realities It applies in example, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen can To be implemented as touch screen, to receive input signal from the user.Touch panel include one or more touch sensors with Sense the gesture on touch, slide, and touch panel.Touch sensor can not only sense the boundary of a touch or slide action, and And also detection and touch or the relevant duration and pressure of slide.In some embodiments, multimedia component 608 includes One front camera and/or rear camera.It is preceding when such as screening-mode or video mode when device 600 is in operation mode External multi-medium data can be received by setting camera and/or rear camera.Each front camera and rear camera can Be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 610 is configured as output and/or input audio signal.For example, audio component 610 includes a Mike Wind (MIC), when device 600 is in operation mode, when such as call model, logging mode and speech recognition mode, microphone by with It is set to reception external audio signal.The received audio signal can be further stored in memory 604 or via communication set Part 616 is sent.In some embodiments, audio component 610 further includes a loud speaker, is used for exports audio signal.
I/O interfaces 612 provide interface between processing component 602 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor module 614 includes one or more sensors, and the state for providing various aspects for device 600 is commented Estimate.For example, sensor module 614 can detect the state that opens/closes of device 600, the relative positioning of component, such as component For the display and keypad of device 600, sensor module 614 can be with the position of 600 1 components of detection device 600 or device Set change, the existence or non-existence that user contacts with device 600, the temperature of 600 orientation of device or acceleration/deceleration and device 600 Variation.Sensor module 614 may include proximity sensor, be configured to detect without any physical contact near The presence of object.Sensor module 614 can also include optical sensor, such as CMOS or ccd image sensor, for being answered in imaging With middle use.In some embodiments, which can also include acceleration transducer, gyro sensor, magnetic Sensor, pressure sensor or temperature sensor.
Communication component 616 is configured to facilitate the communication of wired or wireless way between device 600 and other equipment.Device 600 can access the wireless network based on communication standard, such as Wi-Fi, 2G or 3G or combination thereof.In an exemplary reality It applies in example, communication component 616 receives broadcast singal or the related letter of broadcast from external broadcasting management system via broadcast channel Breath.In one exemplary embodiment, communication component 616 further includes near-field communication (NFC) module, to promote short range communication.Example Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 600 can be believed by one or more application application-specific integrated circuit (ASIC), number Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing above application program unloading side Method.
In the exemplary embodiment, it includes the non-transitorycomputer readable storage medium instructed, example to additionally provide a kind of Such as include the memory 604 of instruction, above-metioned instruction can be executed by the processor 618 of device 600 and be unloaded with completing above application program Support method.For example, non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, magnetic Band, floppy disk and optical data storage devices etc..
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and includes the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.

Claims (11)

1. a kind of application program discharging method, which is characterized in that the method includes:
It receives the removal for removing desktop folder to instruct, the desktop folder is on desktop including at least one The file of installed application program;
Application information list corresponding with the desktop folder is obtained, the application information list includes the desktop folder In the application program that is not unloaded;
Create the unloading application thread for unloading each application program that the application information list is included;
If there is the application program not being unloaded in the application information list, one is chosen from the application information list The application program not being unloaded;
If the application program chosen reaches predetermined unloading threshold value by the unloading using the number of thread unloading, forbid pair The application program is unloaded;Alternatively, if the application program chosen applies the number of thread unloading not by the unloading Reach the predetermined unloading threshold value, then the application program for calling the unloading to be chosen using thread unloading.
2. according to the method described in claim 1, it is characterized in that, the method further includes:
After calling the unloading successfully to unload the application program of selection using thread, from the data of desktop starter maintenance The record required when showing the application program being unloaded on the desktop is deleted in library;
Delete the desktop icons for the application program being unloaded;
The application program being unloaded is removed from the application information list.
3. according to the method described in claim 2, it is characterized in that, the method further includes:
It is calling the unloading to unload the application program of selection not successfully using thread or is being tieed up from the desktop starter After deleting the record required when showing the application program being unloaded on the desktop not successfully in the database of shield, then will The number that the application program is unloaded adds 1, is answered in the presence of what is be not unloaded if continuing to execute in the application information list With program, then a step of application program not being unloaded is chosen from the application information list.
4. according to the method described in claim 1, it is characterized in that, the method further includes:
By the application program being unloaded after being removed in the application information list, if executing the application message There is the application program not being unloaded in list, then chooses an application program not being unloaded from the application information list The step of.
5. method according to any one of claims 1 to 4, which is characterized in that the method further includes:
If removing the desktop folder there is no the application program not being unloaded in the application information list.
6. a kind of application program discharge mechanism, which is characterized in that described device includes:
Receiving module is configured as receiving the removal for removing desktop folder and instructs, and the desktop folder is to be located at table The file for including at least one installed application program on face;
Acquisition submodule is configured as obtaining application information list corresponding with the desktop folder, the application message row Table includes the application program not being unloaded in the desktop folder;
Submodule is created, the application information list for being configured as creating for unloading the acquisition submodule acquisition is included Each application program unloading application thread;When there is the application program not being unloaded in the application information list, from An application program not being unloaded is chosen in the application information list;
Disabled module is configured as to detect that the application program of selection is reached by the unloading using the number of thread unloading When to predetermined unloading threshold value, forbid unloading the application program;
Submodule is unloaded, is configured as being not up to using the number of thread unloading by the unloading when the application program chosen When the predetermined unloading threshold value, call the unloading using the application program of thread unloading selection.
7. device according to claim 6, which is characterized in that described device further includes:
First removing module is configured as after calling the unloading successfully to unload the application program of selection using thread, The note required when showing the application program being unloaded on the desktop is deleted from the database that desktop starter is safeguarded Record;
Second removing module is configured as deleting the desktop icons for the application program being unloaded;
First remove module, the application program for being configured as to be unloaded are removed from the application information list.
8. device according to claim 7, which is characterized in that described device further includes:
First detection module, be configured as call it is described unloading using thread unload not successfully selection the application program or Deleted not successfully from the database that the desktop starter is safeguarded shown on the desktop be unloaded it is described apply journey When sequence after required record, then the number that the application program is unloaded is added 1, continuing to detect in the application information list is It is no to there is the application program not being unloaded.
9. device according to claim 6, which is characterized in that described device further includes:
Detection sub-module is configured as after removing in the application information list, examining by the application program being unloaded It surveys in the application information list with the presence or absence of the application program not being unloaded.
10. according to any device of claim 6 to 9, which is characterized in that described device further includes:
Second remove module is configured as, when the application program not being unloaded is not present in the application information list, removing The desktop folder.
11. a kind of computer readable storage medium, which is characterized in that be stored at least one instruction, institute in the storage medium Instruction is stated to be loaded by processor and executed to realize the application program discharging method as described in claim 1 to 5 is any.
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 CN104793969A (en) 2015-07-22
CN104793969B true 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)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN105868338B (en) * 2016-03-28 2020-06-02 北京小米移动软件有限公司 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
CN109828704B (en) * 2018-12-28 2022-05-17 潍坊华瑞网络科技有限公司 Electronic equipment control method, terminal and computer readable storage medium
CN109828795A (en) * 2018-12-28 2019-05-31 努比亚技术有限公司 A kind of apparatus control method, terminal and computer readable storage medium

Citations (2)

* 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
CN103577417A (en) * 2012-07-23 2014-02-12 腾讯科技(深圳)有限公司 Desktop cleaning method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4082256B2 (en) * 2003-03-25 2008-04-30 ブラザー工業株式会社 Information processing apparatus and program

Patent Citations (2)

* 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
CN103577417A (en) * 2012-07-23 2014-02-12 腾讯科技(深圳)有限公司 Desktop cleaning method and device

Also Published As

Publication number Publication date
CN104793969A (en) 2015-07-22

Similar Documents

Publication Publication Date Title
CN104793969B (en) Application program discharging method and device
CN104765552B (en) Right management method and device
CN104375828B (en) Memory Optimize Method and device
CN106547663B (en) Key management method and device
CN104301204A (en) Unread communication message aggregation method and device
CN104503740A (en) Memory management method and device
CN105955579A (en) Music playing control method and device
CN104267881A (en) Toolbar operating method and device
CN105487773A (en) Screen capturing method and device
CN104407788B (en) Image-erasing method and device
CN105163290A (en) Roaming prompting method and apparatus
CN105704322B (en) Weather information acquisition methods and device
CN106201250A (en) Account changing method and device
CN106548050A (en) Using startup method and device
CN106406659A (en) Double-open application establishing method and device
CN105072245B (en) Network service provider method and device
CN104780256A (en) Address book management method and device and intelligent terminal
CN104836880A (en) Method and device for processing contact person head portrait
CN107295167A (en) Method for information display and device
CN105224650A (en) Image processing method and device
CN106357504A (en) User list cleaning method and device thereof
CN106383856A (en) Method and device for managing file system quota
CN105446835A (en) Method and device for repairing system file
CN106133736B (en) Fingerprint authentication method and device
CN105426050A (en) Message processing 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