CN105446787A - Application deleting method and apparatus - Google Patents

Application deleting method and apparatus Download PDF

Info

Publication number
CN105446787A
CN105446787A CN201511030808.5A CN201511030808A CN105446787A CN 105446787 A CN105446787 A CN 105446787A CN 201511030808 A CN201511030808 A CN 201511030808A CN 105446787 A CN105446787 A CN 105446787A
Authority
CN
China
Prior art keywords
application
application program
virtual machine
program
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201511030808.5A
Other languages
Chinese (zh)
Other versions
CN105446787B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201511030808.5A priority Critical patent/CN105446787B/en
Publication of CN105446787A publication Critical patent/CN105446787A/en
Application granted granted Critical
Publication of CN105446787B publication Critical patent/CN105446787B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • G06F8/62Uninstallation

Abstract

The embodiment of the invention discloses an application deleting method and apparatus. According to the embodiment of the invention, the application deleting method and apparatus adopt the steps of: receiving a deleting instruction for a target application; according to the deleting instruction, deleting the target application on a virtual machine of a terminal, wherein the virtual machine has all applications on the terminal besides the virtual machine before the target application is deleted; operating a testing program on the virtual machine, and acquiring an operation result of operating the testing program on the virtual machine; according to the operation result, judging whether the target application is a deletable application; and if yes, deleting the target application. According to the scheme, an operating condition of the terminal can be virtualized when the application is deleted so as to judge whether the application can be deleted, and thus, the problem that the terminal cannot be normally operated after certain applications are deleted can be avoided.

Description

A kind of delet method of application program and device
Technical field
The present invention relates to field of terminal technology, be specifically related to a kind of delet method and device of application program.
Background technology
Along with the fast development of mobile communication technology, more and more user uses intelligent terminal to carry out learning, amusement etc., not only enrich user's life, also bring advantage to the user, and along with the development of intelligent terminal, the application program of various intelligent terminal is also developed, and to meet the different application demand of user, is constantly expanded cell-phone function by types of applications program.
In actual applications, user is directly choose intended application then to delete when deleting some application program, but there is certain blindness in this method, such as, for Android user, namely can delete major applications program on mobile phone by just having higher authority after mobile phone root, but some application just may cause the operation of mobile phone to go wrong after deleting, such as, mobile phone will be caused after being deleted by the AdobeFlashPlayer in mobile phone at some time cannot to play video; Or Bluetooch.apk makes Bluetooth function disappear etc. after deleting.
In sum, existing in prior art when terminal is when deleting some application program, may cause deleting the rear technical matters affecting the normal use of mobile phone.
Summary of the invention
The object of the invention is the delet method and the device that provide a kind of application program, may cause affecting the technical matters of the normal use of mobile phone to solve in prior art when deleting some application program.
The embodiment of the present invention provides a kind of delet method of application program, comprising:
The delete instruction of receiving target application program;
According to described delete instruction, the virtual machine of described terminal is deleted described intended application, wherein, described virtual machine had all application programs in described terminal except described virtual machine before deleting described intended application;
Testing results program on described virtual machine, and the operation result obtaining testing results program on described virtual machine;
Judge whether described destination application is to delete application program according to described operation result;
If so, then described intended application is deleted.
Further, judge whether described destination application is that the step can deleting application program specifically comprises according to described operation result:
When described test procedure normal operation, judge that described destination application is as deleting application program;
When described test procedure operation exception, judge described destination application not as application program can be deleted.
Further, described test procedure comprises multiple different sub-test procedure, describedly judges that the whether deletable step of described destination application specifically comprises according to described operation result:
The number of the sub-test procedure of normal operation is obtained according to described operation result;
Judge whether described number is greater than predetermined number, if so, then judge that described destination application is as deleting application program, if not, then judge described destination application not as deleting application program.
Further, judge that the whether deletable step of described destination application specifically comprises according to described operation result:
The sub-test procedure of operation exception is obtained according to described operation result;
Judge that whether the sub-test procedure of described operation exception is preset test journey, if so, then judge described destination application not as can application program be deleted, if not, then judge that described destination application is as deleting application program.
Further, before the delete instruction of receiving target application program, create the resource needed for virtual machine according to the resource occupation information distribution that described terminal is applied;
The resource of distributing is used to set up blank virtual machine in described terminal;
All application programs in described terminal except described virtual machine are installed on described blank virtual machine, to obtain the virtual machine of described terminal.
In embodiments of the present invention, judge described destination application not as after can deleting application program, intended application unsuppressible-suppression described in prompting user, and abandon the deletion to described destination application.
The embodiment of the present invention additionally provides a kind of delete device of application program, comprising:
Receiver module, for the delete instruction of receiving target application program;
First removing module, for according to described delete instruction, the virtual machine of described terminal is deleted described intended application, and wherein, described virtual machine had all application programs in described terminal except described virtual machine before deleting described intended application;
Test module, for testing results program on described virtual machine, and obtains the operation result of testing results program on described virtual machine;
Judge module, for judging according to described operation result whether described destination application is to delete application program;
Second removing module, for when described judge module judges described destination application as deleting application program, deletes described intended application.
Further, described judge module specifically for:
When described test procedure normal operation, judge that described destination application is as deleting application program;
When described test procedure operation exception, judge described destination application not as application program can be deleted.
Further, described test procedure comprises multiple different sub-test procedure, and described test module specifically comprises: number acquisition module and number judge module;
Described number acquisition module, for obtaining the number of the sub-test procedure of normal operation according to described operation result;
Described number judge module, for judging whether described number is greater than predetermined number, if so, then judging that described destination application is as deleting application program, if not, then judging described destination application not as deleting application program.
Further, described test module specifically comprises: program acquisition module and program judge module;
Described program acquisition module, for obtaining the sub-test procedure of operation exception according to described operation result;
Described program judge module, for judging whether the sub-test procedure of described operation exception is default test procedure, if so, then judges described destination application not as deleting application program, if not, then judges that described destination application is as deleting application program.
The delete device of the application program that the embodiment of the present invention provides also comprises: resource distribution module, set up module and installation module;
Described resource distribution module, for before the delete instruction of receiving target application program, creates the resource needed for virtual machine according to the resource occupation information distribution that described terminal is applied;
Describedly setting up module, in described terminal, setting up blank virtual machine for using the resource of distribution;
Described installation module, for all application programs in described terminal except described blank virtual machine are installed to described blank virtual machine, to obtain the virtual machine of described terminal.
Further, the delete device of application program that the embodiment of the present invention provides also comprises reminding module;
Described reminding module, for judging described destination application not as after can deleting application program, intended application unsuppressible-suppression described in prompting user, and abandons the deletion to described destination application.
The embodiment of the present invention adopts the delete instruction of receiving target application program, according to this delete instruction, the virtual machine of this terminal is deleted this intended application, wherein, this virtual machine had all application programs in this terminal except this virtual machine before deleting this intended application, testing results program on this virtual machine, and obtain the operation result of testing results program on this virtual machine, judge whether this destination application is to delete application program according to this operation result, if so, then this intended application is deleted; This programme can fictionalize the ruuning situation of terminal when deleting application program thus judge whether this application can be deleted, therefore, can avoid the problem causing terminal normally to run after deleting some application program.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those skilled in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The schematic flow sheet of the delet method of a kind of application program that Fig. 1 provides for the embodiment of the present invention one;
The schematic diagram of the delet method of a kind of application program that Fig. 2 provides for the embodiment of the present invention two;
The structural representation of the delete device of a kind of application program that Fig. 3 provides for the embodiment of the present invention three;
The structural representation of the delete device of the second application program that Fig. 4 provides for the embodiment of the present invention three;
The structural representation of the delete device of the third application program that Fig. 5 provides for the embodiment of the present invention three.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those skilled in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the present invention provides a kind of delet method and device of application program.To be described in detail respectively below.
Embodiment one,
The angle of the delete device from application program is described by the present embodiment, and this delete device specifically can be integrated in terminal or other need to carry out in the equipment of application program deletion.
Wherein, the mode that the delete device of this application program is integrated in terminal can have multiple, such as, can install in the terminal with the form of terminal applies.
A kind of delet method of application program, comprise: the delete instruction of receiving target application program, according to delete instruction, the virtual machine of terminal is deleted intended application, wherein, virtual machine had all application programs in terminal except virtual machine before deleting intended application, testing results program on a virtual machine, and obtain the operation result of testing results program on a virtual machine, judge whether destination application is to delete application program according to operation result, if so, then intended application is deleted.
As shown in Figure 1, the process flow diagram of the delet method of this application program is specific as follows:
Step S101, the delete instruction of receiving target application program.
Particularly, the mode receiving the delete instruction of the destination application that user is triggered by terminal can have multiple, such as, receives the delete instruction etc. of the intended application that user is triggered by terminal touch screen.
In the present embodiment, delete instruction instruction needs the intended application of deleting, and such as, this delete instruction can carry the application identities needing the intended application of deleting.
This intended application is the application program that terminal is installed, such as, and game application, social application, software administration application etc.
Step S102, according to delete instruction, the virtual machine of terminal is deleted intended application.
Wherein, virtual machine had all application programs in terminal except virtual machine before deleting intended application.
In the present embodiment, virtual machine refers to have complete hardware system function by software simulation, operate in the complete computer in a completely isolated environment, virtual system is by generating the new virtual mirror image of existing operating system, it has the duplicate function of real system, after entering virtual system, all operations is all carry out inside the independently virtual system that this is brand-new, can independent installation and operation software, preserve data, have the independent table of oneself, any impact can not be produced to real system, and there is a type operating system that can switch flexibly between existing system and virtual image.
Concrete, the virtual machine of terminal can be pre-created, wherein, the mode being pre-created the virtual machine of terminal has multiple, such as, can before receiving the delete instruction of application program, the resource needed for virtual machine is created on the terminal in advance according to the resource occupation information distribution of application program in this terminal, the resource of distributing is used to set up blank virtual machine in above-mentioned terminal, then, all application programs in terminal except above-mentioned blank virtual machine are installed on this blank virtual machine, to obtain the virtual machine of terminal, the virtual machine of this terminal have the whole application programs identical with in terminal.
In embodiments of the present invention, can delete destination application in the middle of above-mentioned dummy machine system, concrete, application identities can be obtained according to the application program delete instruction received, then in the middle of virtual machine, find corresponding application file according to this application identities, and it is deleted.
Step S103, testing results program on above-mentioned virtual machine, and obtain the operation result of testing results program on a virtual machine.
Concrete, delete target program in this virtual machine after, testing results program, this test procedure is used to the situation of testing virtual machine operation, and be also the ruuning situation of terminal, the function program that this test procedure can be commonly used with user is corresponding, wherein, this test procedure can for set according to the actual requirements, and such as, this test procedure can for running the working procedure, switching on and shutting down program, optimum configurations program etc. of other application program on virtual machine.
Alternatively, test procedure has multiple, such as, this test procedure comprises multiple different sub-test procedure, now, operation result comprises: the operation result of every sub-test procedure, and this operation result is for representing the ruuning situation of user terminal after deletion destination application.Such as, test procedure comprises: boot program, application opening program, setting program, audio playing program, video reproduction program, program etc. of taking pictures.
According to operation result, step S104, judges whether destination application is to delete application program, if so, then perform step S106, if not, then performs step S105.
Concrete, above-mentioned operation result can comprise the second operation result of the first operation result that test procedure normally runs or test procedure operation exception, if test procedure normal operation, then determine that operation result comprises above-mentioned first operation result, judge that this destination application is as deletable application program; If test procedure operation exception, such as report an error, dodge move back, function cannot realize etc., then determine that operation result comprises above-mentioned second operation result, judge this destination application not as deletable application program.
Such as, after on a virtual machine certain application A being deleted, testing results program, namely carries out test run, such as to call function respectively to the application program of other above the virtual machine of this terminal, Bluetooth function, video/audio playing function carries out test run etc., thus obtains the operation result of test procedure, and operation result represents that whether test run is normal, normal operation and application program A are deletable, otherwise then application program A is not deletable.
Step S105, abandons deleting destination application.
In embodiments of the present invention, can destination application judged not as after application program can be deleted, generate an information and be presented at terminal, after this information contains and deleted by destination application, virtual machine test procedure runs the error information of makeing mistakes, and abandons the deletion to this destination application.
Such as, terminal shows a prompting interface, to point out this application program not for application program can be deleted, wherein point out interface to comprise for pointing out user again by the error information (as Word message) of terminal operating exception after destination application deletion, and abandon the deletion to destination application.
For promoting Consumer's Experience, be convenient to select whether to delete according to user's request, the present embodiment can also arrange instruction and obtain on prompting interface, such subsequent user can obtain interface triggering terminal by this instruction and abandon deleting, also namely, the step " abandoning deleting destination application " can comprise:
Display reminding interface, this prompting interface comprises the information for pointing out this intended application not for deleting application program, and instruction obtains interface;
Instruction is abandoned in the deletion receiving the triggering of this instruction acquisition interface;
Abandon instruction according to this deletion to abandon deleting this intended application.
Wherein, instruction is obtained interface and can be represented by various ways, such as, can be the form of icon, or, also can be the form of input frame, etc., the quantity that this instruction obtains interface can be arranged according to the demand of practical application, does not repeat them here.
Alternatively, conveniently user deletes application, can also arrange another for triggering the instruction interface of delete instruction at this prompting interface; Such as, at terminal demonstration prompting interface, point out this destination application for after can deleting application program, if user still wants to delete this application program, now user triggers delete instruction by this instruction interface, and terminal can be deleted this destination application according to this delete instruction.
Step S106, deletes destination application.
In the present embodiment, if judge that this destination application is as deleting application program according to the operation result of test run, then terminal is directly deleted destination application.Such as, terminal demonstration is the information can deleting application program for pointing out this intended application of user, then, deletes intended application; Again such as, can after intended application to be deleted, this application program of prompting user is for deleting application program.
Optionally, after deleting destination application, the present embodiment method can also be deleted the catalogue file of destination application, the waste of saving resource.
As from the foregoing, the embodiment of the present invention adopts the delete instruction of receiving target application program, according to this delete instruction, the virtual machine of this terminal is deleted this intended application, wherein, this virtual machine had all application programs in this terminal except this virtual machine before deleting this intended application, testing results program on this virtual machine, and obtain the operation result of testing results program on this virtual machine, judge whether this destination application is to delete application program according to this operation result, if so, then this intended application is deleted; This programme can fictionalize the ruuning situation of terminal when deleting application program thus judge whether this application can be deleted, therefore, can avoid the problem causing terminal normally to run after deleting some application program, greatly improve Consumer's Experience.
Embodiment two,
The present embodiment is further described on the basis of embodiment one method.
As shown in Figure 2, the process flow diagram of the delet method of this application program is specific as follows:
Step S201, the delete instruction of receiving target application program.
Step S202, deletes destination application according to above-mentioned delete instruction on a virtual machine, and on this virtual machine testing results program, obtain the operation result of testing results program on this virtual machine.
Step S203, obtains the number of the sub-test procedure of normal operation according to operation result.
Step S204, judges whether above-mentioned number is greater than predetermined number, if so, then performs step S205, if not, then performs step S208.
In embodiments of the present invention, judging whether destination application is the degree of accuracy can deleting application program to improve, in the embodiment of the present invention, judging that the whether deletable step of destination application can specifically comprise according to operation result:
Obtain the number of the sub-test procedure of normal operation according to operation result, judge whether number is greater than predetermined number, if so, then judge that destination application is as deleting application program, if not, then judge destination application not as deleting application program.
Concrete, above-mentioned test procedure comprises multiple different sub-test procedure, this sub-test procedure carries out test run to each application program on virtual machine respectively, then obtain operation result after program is run, above-mentioned operation result contains the operation result that each Application testing runs, the sub-test procedure number of normal operation is obtained according to this operation result, judge whether above-mentioned number is greater than predetermined number, predetermined number can be arranged according to the actual requirements, when such as self testing procedure number is 30, predetermined number can be set to 3, if the sub-test procedure number of normal operation is greater than 3, then judge that destination application is as deleting application program, if the sub-test procedure number of normal operation is less than 3, then judge destination application not as application program can be deleted.
Step S205, obtains the self testing procedure of operation exception according to operation result.
Step S206, judges whether the sub-test procedure of operation exception is default test procedure, if so, then performs step S208, if not, then performs step S207.
In embodiments of the present invention, judging whether destination application is the degree of accuracy can deleting application program to improve further, in the embodiment of the present invention, judging that the whether deletable step of destination application can specifically comprise according to operation result:
The sub-test procedure of operation exception is obtained according to operation result, whether the sub-test procedure judging operation exception is default test procedure, if so, then judges destination application not as deleting application program, if not, then judge that destination application is as deleting application program.
Concrete, above-mentioned operation on a virtual machine after program is established in survey obtains operation result, the self testing procedure of normal operation and the sub-test procedure of operation exception is comprised in this operation result, obtain the sub-test procedure of wherein operation exception and determine whether default test procedure, this default test procedure can be arranged according to the actual requirements.
Step S207, judges that destination application is as deleting application program, and deletes this application program.
In the present embodiment, judging that destination application is as after can deleting application program, terminal is directly deleted destination application.Such as, terminal demonstration is the information can deleting application program for pointing out this intended application of user, then, deletes intended application; Again such as, can after intended application to be deleted, this application program of prompting user is for deleting application program.
Step S208, judges destination application not as deleting application program, and abandons deleting this application program.
In the present embodiment, judging destination application not as after can deleting application program, abandon deleting destination application.Concrete, can also judge that destination application does not generate information while can deleting application program, and be presented at terminal to point out user.
As from the foregoing, the embodiment of the present invention adopts the delete instruction of receiving target application program, according to delete instruction, the virtual machine of terminal is deleted intended application, wherein, virtual machine had all application programs in terminal except virtual machine before deleting intended application, testing results program on a virtual machine, and obtain the operation result of testing results program on a virtual machine, judge whether destination application is to delete application program according to operation result, if so, then intended application is deleted; This programme can fictionalize the ruuning situation of terminal when deleting application program thus judge whether this application can be deleted, therefore, can avoid the problem causing terminal normally to run after deleting some application program, greatly improve Consumer's Experience.
Embodiment three,
In order to implement above method better, the embodiment of the present invention also provides a kind of delete device of application program, as shown in Figure 3, the delete device of this application program comprises: receiver module 301, first removing module 302, test module 303, judge module 304 and the second removing module 305, as follows:
This receiver module 301, for the delete instruction of receiving target application program;
This first removing module 302, for according to delete instruction, the virtual machine of terminal is deleted intended application, and wherein, virtual machine had all application programs in terminal except virtual machine before deleting intended application;
This test module 303, for testing results program on a virtual machine, and obtains the operation result of testing results program on a virtual machine;
This judge module 304, for judging according to operation result whether destination application is to delete application program;
This second removing module 305, during for judging destination application as deleting application program when judge module, deletes intended application.
Concrete, judge module 304 specifically for:
When test procedure normal operation, judge that destination application is as deleting application program;
When test procedure operation exception, judge destination application not as application program can be deleted.
Preferably, test procedure comprises multiple different sub-test procedure, and with reference to figure 4, test module 303 specifically comprises: number acquisition module 3031 and number judge module 3032.
This number acquisition module 3031, for obtaining the number of the sub-test procedure of normal operation according to operation result;
This number judge module 3032, for judging whether number is greater than predetermined number, if so, then judging that destination application is as deleting application program, if not, then judging destination application not as deleting application program.
Preferably, as shown in Figure 5, test module 303 can specifically comprise: program acquisition module 3033 and program judge module 3034;
This program acquisition module 3033, for obtaining the sub-test procedure of operation exception according to operation result;
This program judge module 3034, for judging whether the sub-test procedure of operation exception is default test procedure, if so, then judges destination application not as deleting application program, if not, then judges that destination application is as deleting application program.
In the application program delete device that the embodiment of the present invention provides, can also comprise: resource distribution module, set up module and installation module;
This resource distribution module, for before the delete instruction of receiving target application program, creates the resource needed for virtual machine according to the resource occupation information distribution that terminal is applied;
This sets up module, sets up blank virtual machine for using the resource of distribution in terminal;
This installation module, for all application programs in terminal except blank virtual machine are installed to blank virtual machine, to obtain the virtual machine of terminal.
Preferably, the device that the present embodiment provides can also comprise: reminding module;
This reminding module, for judging destination application not as after can deleting application program, prompting ownership goal application unsuppressible-suppression, and abandons the deletion to destination application.
During concrete enforcement, above modules can realize as independently entity, and can carry out combination in any yet, realize as same or several entities, the concrete enforcement of above modules see embodiment of the method above, can not repeat them here.
As from the foregoing, the embodiment of the present invention adopts the delete instruction of receiver module 301 receiving target application program, according to delete instruction, intended application is deleted on the virtual machine of terminal by the first removing module 302, wherein, virtual machine had all application programs in terminal except virtual machine before deleting intended application, on a virtual machine by test module 303 testing results program, and obtain the operation result of testing results program on a virtual machine, according to operation result, judge module 304 judges whether destination application is to delete application program, if, then deleted by the second removing module 305 pairs of intended application, this programme can fictionalize the ruuning situation of terminal when deleting application program thus judge whether this application can be deleted, therefore, can avoid the problem causing terminal normally to run after deleting some application program.
It should be noted that, one of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is that the hardware that can carry out instruction relevant by program has come, this program can be stored in computer-readable recording medium, as being stored in the storer of terminal, and performed by least one processor in this terminal, the flow process of the embodiment as information issuing method can be comprised in the process of implementation.Wherein, storage medium can comprise: ROM (read-only memory) (ROM, ReadOnlyMemory), random access memory (RAM, RandomAccessMemory), disk or CD etc.
Above the delet method of a kind of application program that the embodiment of the present invention provides and device are described in detail, its each functional module can be integrated in a process chip, also can be that the independent physics of modules exists, also can two or more module integrations in a module.Above-mentioned integrated module both can adopt the form of hardware to realize, and the form of software function module also can be adopted to realize.Apply specific case herein to set forth principle of the present invention and embodiment, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for those skilled in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (12)

1. a delet method for application program, is characterized in that, comprises the following steps:
The delete instruction of receiving target application program;
According to described delete instruction, the virtual machine of described terminal is deleted described intended application, wherein, described virtual machine had all application programs in described terminal except described virtual machine before deleting described intended application;
Testing results program on described virtual machine, and the operation result obtaining testing results program on described virtual machine;
Judge whether described destination application is to delete application program according to described operation result;
If so, then described intended application is deleted.
2. the delet method of application program as claimed in claim 1, is characterized in that, describedly judges whether described destination application is that the step can deleting application program specifically comprises according to described operation result:
When described test procedure normal operation, judge that described destination application is as deleting application program;
When described test procedure operation exception, judge described destination application not as application program can be deleted.
3. the delet method of application program as claimed in claim 1, it is characterized in that, described test procedure comprises multiple different sub-test procedure, describedly judges that the whether deletable step of described destination application specifically comprises according to described operation result:
The number of the sub-test procedure of normal operation is obtained according to described operation result;
Judge whether described number is greater than predetermined number;
If so, then judge that described destination application is as deleting application program;
If not, then described destination application is judged not as application program can be deleted.
4. the delet method of application program as claimed in claim 3, is characterized in that, after the described number of described judgement is greater than predetermined number, judge that described destination application is as before can deleting application program, described method also comprises:
The sub-test procedure of operation exception is obtained according to described operation result;
Whether the sub-test procedure judging described operation exception is default test procedure;
If so, described destination application is then judged not as application program can be deleted;
If not, then judge that described destination application is as deleting application program.
5. the delet method of application program as claimed in claim 1, it is characterized in that, before the delete instruction of receiving target application program, described method also comprises:
The resource needed for virtual machine is created according to the resource occupation information distribution that described terminal is applied;
The resource of distributing is used to set up blank virtual machine in described terminal;
All application programs in described terminal except described blank virtual machine are installed on described blank virtual machine, to obtain the virtual machine of described terminal.
6. the delet method of the application program as described in any one of claim 1-5, is characterized in that, judge described destination application not as after can deleting application program, the delet method of described application program comprises:
Intended application unsuppressible-suppression described in prompting user, and abandon the deletion to described destination application.
7. a delete device for application program, is characterized in that, comprising:
Receiver module, for the delete instruction of receiving target application program;
First removing module, for according to described delete instruction, the virtual machine of described terminal is deleted described intended application, and wherein, described virtual machine had all application programs in described terminal except described virtual machine before deleting described intended application;
Test module, for testing results program on described virtual machine, and obtains the operation result of testing results program on described virtual machine;
Judge module, for judging according to described operation result whether described destination application is to delete application program;
Second removing module, for when described judge module judges described destination application as deleting application program, deletes described intended application.
8. the delete device of application program as claimed in claim 7, is characterized in that, described judge module specifically for:
When described test procedure normal operation, judge that described destination application is as deleting application program;
When described test procedure operation exception, judge described destination application not as application program can be deleted.
9. the delete device of application program as claimed in claim 7, it is characterized in that, described test procedure comprises multiple different sub-test procedure, and described test module specifically comprises: number acquisition module and number judge module;
Described number acquisition module, for obtaining the number of the sub-test procedure of normal operation according to described operation result;
Described number judge module, for judging whether described number is greater than predetermined number;
If so, then judge that described destination application is as deleting application program;
If not, then described destination application is judged not as application program can be deleted.
10. the delete device of application program as claimed in claim 9, it is characterized in that, described test module specifically comprises: program acquisition module and program judge module;
Described program acquisition module, for obtaining the sub-test procedure of operation exception according to described operation result;
Described program judge module, for judging whether the sub-test procedure of described operation exception is default test procedure;
If so, described destination application is then judged not as application program can be deleted;
If not, then judge that described destination application is as deleting application program.
The delete device of 11. application programs as claimed in claim 7, is characterized in that, also comprise: resource distribution module, set up module and installation module;
Described resource distribution module, for before the delete instruction of receiving target application program, creates the resource needed for virtual machine according to the resource occupation information distribution that described terminal is applied;
Describedly setting up module, in described terminal, setting up blank virtual machine for using the resource of distribution;
Described installation module, for all application programs in described terminal except described blank virtual machine are installed to described blank virtual machine, to obtain the virtual machine of described terminal.
The delete device of 12. application programs as described in any one of claim 7-11, is characterized in that, also comprise: reminding module;
Described reminding module, for judging described destination application not as after can deleting application program, intended application unsuppressible-suppression described in prompting user, and abandons the deletion to described destination application.
CN201511030808.5A 2015-12-30 2015-12-30 A kind of delet method and device of application program Active CN105446787B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511030808.5A CN105446787B (en) 2015-12-30 2015-12-30 A kind of delet method and device of application program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511030808.5A CN105446787B (en) 2015-12-30 2015-12-30 A kind of delet method and device of application program

Publications (2)

Publication Number Publication Date
CN105446787A true CN105446787A (en) 2016-03-30
CN105446787B CN105446787B (en) 2018-07-27

Family

ID=55557028

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511030808.5A Active CN105446787B (en) 2015-12-30 2015-12-30 A kind of delet method and device of application program

Country Status (1)

Country Link
CN (1) CN105446787B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019051670A1 (en) * 2017-09-13 2019-03-21 深圳传音通讯有限公司 Virtual system operating method and virtual system based on intelligent terminal

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120222015A1 (en) * 2011-02-25 2012-08-30 International Business Machines Corporation Security Role Testing Using an Embeddable Container and Properties Object
CN103595774A (en) * 2013-11-01 2014-02-19 北京奇虎科技有限公司 System application uninstalling method and device with terminal based on server side
CN103631617A (en) * 2013-11-01 2014-03-12 北京奇虎科技有限公司 Method and device for unloading system application on terminal equipment
CN104023032A (en) * 2014-06-23 2014-09-03 北京握奇智能科技有限公司 Application limited unloading method based on dependable execution environment technology, server and terminal
CN104035842A (en) * 2014-06-30 2014-09-10 上海斐讯数据通信技术有限公司 Method for deleting and recovering built-in application program
CN104951320A (en) * 2014-03-27 2015-09-30 宇龙计算机通信科技(深圳)有限公司 Application installing and uninstalling method and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120222015A1 (en) * 2011-02-25 2012-08-30 International Business Machines Corporation Security Role Testing Using an Embeddable Container and Properties Object
CN103595774A (en) * 2013-11-01 2014-02-19 北京奇虎科技有限公司 System application uninstalling method and device with terminal based on server side
CN103631617A (en) * 2013-11-01 2014-03-12 北京奇虎科技有限公司 Method and device for unloading system application on terminal equipment
CN104951320A (en) * 2014-03-27 2015-09-30 宇龙计算机通信科技(深圳)有限公司 Application installing and uninstalling method and system
CN104023032A (en) * 2014-06-23 2014-09-03 北京握奇智能科技有限公司 Application limited unloading method based on dependable execution environment technology, server and terminal
CN104035842A (en) * 2014-06-30 2014-09-10 上海斐讯数据通信技术有限公司 Method for deleting and recovering built-in application program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019051670A1 (en) * 2017-09-13 2019-03-21 深圳传音通讯有限公司 Virtual system operating method and virtual system based on intelligent terminal
CN111344675A (en) * 2017-09-13 2020-06-26 深圳传音通讯有限公司 Virtual system operation method based on intelligent terminal and virtual system
CN111344675B (en) * 2017-09-13 2023-10-13 深圳传音通讯有限公司 Virtual system operation method and virtual system based on intelligent terminal

Also Published As

Publication number Publication date
CN105446787B (en) 2018-07-27

Similar Documents

Publication Publication Date Title
KR102323333B1 (en) Application data processing method and apparatus, and storage medium
CN106843828B (en) Interface display and loading method and device
CN109800135B (en) Information processing method and terminal
CN109324857B (en) User guide implementation method, device and storage medium
CN107608609B (en) Event object sending method and device
CN103390003A (en) Method and device for combining user data information among servers
CN107341016A (en) Focus state implementation method, device, terminal and storage medium under split screen mechanism
CN103744708A (en) Method of fixing disk device names in Linux operating system
CN103123605A (en) Android platform automation integration testing method and device
CN109145272A (en) Text rendering and layout method, device, equipment and storage medium
CN102999419A (en) Android test incident record and playback methods and device
CN112000911A (en) Page management method and device, electronic equipment and storage medium
CN109840201B (en) UI test method, device, electronic equipment and computer readable storage medium
CN112559335A (en) Test method, device, equipment and storage medium
CN105446787A (en) Application deleting method and apparatus
CN103926842A (en) Photoelectric equipment semi-physical simulation computer control system based on HLA
CN111221723B (en) Test record generation method and device, storage medium and electronic equipment
CN105701012A (en) Parameter setting method and device
CN106412268A (en) Method and device for displaying calculator application of mobile phone
CN112925770A (en) Database capacity expansion method, device, equipment and medium
CN105701399A (en) Method and device for security detection of application program
CN111104264A (en) Node main/standby switching method and device for distributed cloud computing system
CN113973060A (en) Internet of things simulation method, device and system and storage medium
CN111880896A (en) Method and device for rapidly restoring container and running state data
CN110569231A (en) Data migration method, device, equipment and medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: Guangdong Opel Mobile Communications Co., Ltd.

CP01 Change in the name or title of a patent holder