CN106569851A - Application processing method and device - Google Patents
Application processing method and device Download PDFInfo
- Publication number
- CN106569851A CN106569851A CN201610917186.6A CN201610917186A CN106569851A CN 106569851 A CN106569851 A CN 106569851A CN 201610917186 A CN201610917186 A CN 201610917186A CN 106569851 A CN106569851 A CN 106569851A
- Authority
- CN
- China
- Prior art keywords
- terminal
- program
- deleted
- application
- system upgrade
- 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
Links
- 238000003672 processing method Methods 0.000 title abstract 2
- 238000000034 method Methods 0.000 claims abstract description 41
- 238000000638 solvent extraction Methods 0.000 claims description 16
- 230000037430 deletion Effects 0.000 claims description 7
- 238000001514 detection method Methods 0.000 claims description 2
- 238000005192 partition Methods 0.000 abstract 1
- 230000005540 biological transmission Effects 0.000 description 15
- 230000008569 process Effects 0.000 description 13
- 238000012545 processing Methods 0.000 description 7
- 238000012217 deletion Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012795 verification Methods 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000009434 installation Methods 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 238000011084 recovery Methods 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 230000032683 aging Effects 0.000 description 1
- 229940104697 arixtra Drugs 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000007795 chemical reaction product Substances 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- KANJSNBRCNMZMV-ABRZTLGGSA-N fondaparinux Chemical compound O[C@@H]1[C@@H](NS(O)(=O)=O)[C@@H](OC)O[C@H](COS(O)(=O)=O)[C@H]1O[C@H]1[C@H](OS(O)(=O)=O)[C@@H](O)[C@H](O[C@@H]2[C@@H]([C@@H](OS(O)(=O)=O)[C@H](O[C@H]3[C@@H]([C@@H](O)[C@H](O[C@@H]4[C@@H]([C@@H](O)[C@H](O)[C@@H](COS(O)(=O)=O)O4)NS(O)(=O)=O)[C@H](O3)C(O)=O)O)[C@@H](COS(O)(=O)=O)O2)NS(O)(=O)=O)[C@H](C(O)=O)O1 KANJSNBRCNMZMV-ABRZTLGGSA-N 0.000 description 1
- 210000004247 hand Anatomy 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 239000000047 product Substances 0.000 description 1
- 238000012216 screening Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5011—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
- G06F9/5022—Mechanisms to release resources
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Stored Programmes (AREA)
Abstract
Embodiments of the invention relate to an application processing method and device. The method comprises: receiving an application deleting command sent by a user; generating an application list of to-be-deleted applications according to the application deleting command and sending the application list to a server so that the server generates a system upgrade package according to the received application list; obtaining the system upgrade package sent by the server; and in a system upgrading mode, running the system upgrade package, and deleting a target application in the to-be-deleted applications from a terminal. Via the above way, when the user needs to delete a preinstalled application from the terminal, the method can avoid the situation that the preinstalled application is installed in a system partition of the terminal and thus cannot be deleted directly so that resources occupied by the preinstalled application cannot be recycled in time and the running efficiency of the terminal is severely affected consequently.
Description
Technical field
The present embodiments relate to software technology field, more particularly to a kind of applied program processing method and device.
Background technology
With the continuous development of technology, the kind and type of the end product that can be provided the user is also more and more, example
Such as:Smart mobile phone, panel computer and television set etc..In order to adapt to the needs of each side, user can obtain in using shop
Required application program.For the needs that the demand and Cooperation that meet user are promoted, manufacturer terminal also would generally dispatch from the factory
It is front to pre-install some application programs in the terminal.
By taking television set as an example, inventor has found television set when being used by a user one section during the present invention is realized
Between after, television manufacturer no longer provides maintenance to it.Due to the system that the pre-installed applications program in television set is installed in system
In subregion so that user cannot directly unload pre-installed applications program, in television set running, these pre-installed applications programs are very
The resources such as Flash controls and the internal memory of system may always be taken.However, because the pre-installed applications program in terminal is typically
Can not directly be unloaded by user, cause the resource for being preinstalled application program occupancy to reclaim in time, and then have a strong impact on terminal
Operational efficiency.
The content of the invention
To overcome the resource that application program occupancy is preinstalled present in correlation technique to reclaim in time, and then serious shadow
The problem of the operational efficiency of terminal is rung, the embodiment of the present invention provides a kind of applied program processing method and device.
A kind of first aspect according to embodiments of the present invention, there is provided applied program processing method, is applied to terminal, the side
Method includes:
The application program that receive user sends deletes instruction;
The program listing that instruction generates application program to be deleted, the application journey to be deleted are deleted according to the application program
Sequence is arranged in the system partitioning of the terminal;
Described program list is sent to into server, so that the server is according to the described program list for receiving, it is raw
Into system upgrade bag;
Obtain the system upgrade bag that the server sends;
Under system upgrade pattern, the system upgrade bag is run, by the intended application in the application program to be deleted
Program is deleted from the terminal.
A kind of second aspect according to embodiments of the present invention, there is provided applied program processing method, is applied to server, described
Method includes:
The program listing of the application program to be deleted that terminal sends is obtained, described program list includes the application to be deleted
The identification information of program;
Determine the destination application in the application program to be deleted;
According to the identification information of the destination application generate system upgrade bag, the system upgrade bag, including:For
The shell script of delete target application program;
The system upgrade bag is sent to into the terminal, so that the terminal is according to the system upgrade for receiving
Bag, deletes the destination application in the terminal.
A kind of third aspect according to embodiments of the present invention, there is provided terminal, including:
Processor;
For storing the memorizer of processor executable;
Wherein, the processor is configured to:
Obtain the application program deletion instruction that user sends;
The program listing that instruction generates application program to be deleted, the application journey to be deleted are deleted according to the application program
Sequence is arranged in the system partitioning of the terminal;
Described program list is sent to into server, so that the server is according to the described program list for receiving, it is raw
Into system upgrade bag;
Obtain the system upgrade bag that the server sends;
Under the system upgrade pattern of the terminal, the system upgrade bag is run, by the application program to be deleted
Destination application delete from the terminal.
A kind of fourth aspect according to embodiments of the present invention, there is provided server, including:
Processor;
For storing the memorizer of processor executable;
Wherein, the processor is configured to:
The program listing of the application program to be deleted that terminal sends is obtained, described the application list includes application to be deleted
The identification information of program;
Determine the destination application in the application program to be deleted;
According to the identification information of the destination application generate system upgrade bag, the system upgrade bag, including:For
The shell script of delete target application program;
The system upgrade bag is sent to into the terminal, so that the terminal is according to the system upgrade for receiving
Bag, deletes the destination application in the terminal.
The technical scheme that embodiments of the invention are provided can include following beneficial effect:
Applied program processing method provided in an embodiment of the present invention and device, terminal is by the application journey that sent according to user
Sequence deletes instruction to generate the program listing of the application program to be deleted of user's selection, and the program listing is sent to into service
Device, after the system upgrade bag for getting server transmission, under the system upgrade pattern of terminal, runs the system upgrade bag,
Destination application in application program to be deleted is deleted from terminal.So, needing in user should by the prepackage in terminal
When needing to delete with program etc., can avoid it can not directly being deleted because of the system partitioning that pre-installed applications program is arranged on terminal
Remove, and cause the resource for being preinstalled application program occupancy to reclaim in time, and then have a strong impact on asking for the operational efficiency of terminal
Topic.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, not
The embodiment of the present invention can be limited.
Description of the drawings
Accompanying drawing herein is merged in description and constitutes the part of this specification, shows the enforcement for meeting the present invention
Example, and be used to explain the principle of the embodiment of the present invention together with description.
Fig. 1 is the application scenarios schematic diagram that a kind of application program according to an exemplary embodiment of the invention is processed;
Fig. 2 is a kind of flow chart of the applied program processing method according to an exemplary embodiment of the invention;
Fig. 3 is a kind of flow chart of the applied program processing method for implementing to exemplify according to another exemplary of the present invention;
Fig. 4 is a kind of flow chart of the applied program processing method according to further example embodiment of the present invention;
Fig. 5 is the flow chart of step S250 in Fig. 2;
Fig. 6 is a kind of flow chart of the applied program processing method according to further example embodiment of the present invention;
Fig. 7 is the flow chart of step S620 in Fig. 6;
Fig. 8 is a kind of flow chart of the applied program processing method according to further example embodiment of the present invention;
Fig. 9 is a kind of structural representation of the application processing apparatus according to an exemplary embodiment of the invention;
Figure 10 is a kind of structural representation of the application processing apparatus for implementing to exemplify according to another exemplary of the present invention
Figure;
Figure 11 is a kind of structural representation of the application processing apparatus according to further example embodiment of the present invention
Figure;
Figure 12 is the schematic diagram of Fig. 9 Program removing modules;
Figure 13 is a kind of structural representation of the application processing apparatus according to further example embodiment of the present invention
Figure;
Figure 14 is the schematic diagram of destination application determining module in Figure 13;
Figure 15 is a kind of structural representation of the application processing apparatus according to further example embodiment of the present invention
Figure;
Figure 16 is a kind of structural representation of the device according to an exemplary embodiment of the invention.
Specific embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Explained below is related to
During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the embodiment of the present invention.Conversely, they be only with
As described in detail in the appended claims, embodiment of the present invention some in terms of consistent apparatus and method example.
Because terminal is after a period of time is used by a user, certain applications and service are understood no longer by manufacturer's operation and maintenance,
But due in terminal many application programs when dispatching from the factory by factory pre-set in the system partitioning of system, cause the user cannot
Directly these pre-installed applications programs are deleted, during user's using terminal, these pre-installed applications programs may
The Flash controls of occupied terminal and the resource such as internal memory always.
Especially system operation is after several years, with terminal hardware product aging and user terminal install it is many needed for
Application program, cause the available resources of terminal very nervous, many users can consider how lifted terminal performance.Do not increasing
Plus in the case of cost, improve terminal capabilities most directly effectively means be exactly the resource that takes pre-installed applications program cannot and
Shi Huishou, to improve the operational efficiency of terminal.However, because the pre-installed applications program in terminal is installed in the system point of system
Qu Zhong so that user cannot directly unload pre-installed applications program.
In the case where ensureing that terminal system is stable, in order to the pre-installed applications program in terminal is deleted, and then will be pre-
The resource that dress application program takes is reclaimed in time, to improve the operational efficiency of terminal, in embodiments of the present invention there is provided one kind
Applied program processing method and device.Wherein, the terminal in the embodiment of the present invention, can be mobile phone, computer and television set etc., this
Illustrate so that terminal is as television set as an example in inventive embodiments, the embodiment of the present invention is not limited to this.
The application scenarios schematic diagram that Fig. 1 is processed for a kind of application program that one embodiment of the invention is provided, as shown in figure 1,
Fig. 1 includes:Television set 100 and server 200.
In the embodiment that the present invention is provided, operating system is installed in television set 100, the operating system can be ARIXTRA
WP systems of system, the MAC OS systems of Fructus Mali pumilae or Microsoft etc., in order to make it easy to understand, the embodiment of the present invention is by taking Android system as an example
Illustrate.In addition, being also equipped with application program in addition to being provided with operating system on television set 100, the application program can
With including pre-installed applications program and non-pre-installed applications program.
Wherein, pre-installed applications program is preset in the system partitioning of television set when dispatching from the factory for television set 100 by producer, is used
Family cannot directly be deleted;Non- pre-installed applications program, be user as needed, usually obtain and install from using shop
To the application program in television set 100.These non-pre-installed applications programs, in being typically mounted at data subregions, can be according to user
Needs, it is deleted from television set 100 at any time.
In order to the pre-installed applications program in the system partitioning of television set 100 is deleted, television set 100 can obtain user's transmission
Application program deletes instruction, and generates the journey of the application program to be deleted in system partitioning according to the application program instructions
Sequence table.For example, television set 100 chooses operation by obtaining user what application program image was put on, the application that user is chosen
The program listing of Program Generating application program to be deleted.Wherein, comprising the mark of the application deleted needed for user in the program listing
Knowledge information, and the program listing is sent to server 200 by television set 100, so that server 200 is according to the journey for receiving
Sequence table generates system upgrade bag.Application program to be deleted in the embodiment of the present invention, refers to answering in system partitioning
Use program.
User can carry out concrete operations by instruments such as the television set assistants on television set 100, and exemplary, user is in electricity
The application program deleted needed for depending on choosing in machine aided handss, and deletion action is performed, detect being somebody's turn to do for user's triggering in television set 100
During deletion action, the identification information of the application program to be deleted that television set 100 can choose user generates application program to be deleted
Program listing, and the program listing of the application program to be deleted is sent to into server 200.In addition, terminal 100 can also be by
The key of itself is sent to server 200, so that server 200 is signed according to the key to the AKU for generating.
Server 200 selects system file to prevent user from missing after the program listing for getting the transmission of television set 100
In getting program listing by mistake, it is to avoid system file is deleted the situation for causing the system of terminal normally to run, server 200
The whether identification information comprising system file can be checked in the program listing, if comprising, then server 200 by program listing
In the identification information of system file remove, and then determine the destination application in application program to be deleted.
Server 200 generates system upgrade bag for the identification information of the destination application, and obtains 100, terminal
The key for sending, is signed by the key to the system upgrade bag, and the system upgrade bag after signing is sent to terminal 100.
Terminal 100 obtains the system upgrade bag that server 200 sends, and by the key of itself to the system upgrade bag
Signature is verified, if verification passes through, under the system upgrade pattern of terminal 100, runs the system upgrade bag.Wherein, should
System upgrade bag, including:For the shell script of delete target application program.The system upgrade bag is run, that is, running this is used for
The shell script of delete target application program, the destination application in application program to be deleted is deleted.The intended application journey
Sequence is pre-installed applications program, and the application program for falsely dropping system file or other users can be avoided to delete.
In addition, the embodiment that the present invention is provided is in addition to can the pre-installed applications program that deleted needed for user be deleted,
The application program that other needs are deleted can also be deleted as needed.For example, if application journey of the user installation in terminal
Sequence is more, and many application programs need to delete, and deleting each application program one by one can bring many loaded down with trivial details to user
Operation, then the present invention provide applied program processing method and device, can also delete in batches these users need delete
Application program, these application programs can be mainly pre-installed applications program.
In order to elaborate the execution flow process of above-mentioned end side, with reference to the various embodiments described above, in the another of present invention offer
In embodiment, additionally provide a kind of applied program processing method, be applied to terminal, as shown in Fig. 2 the method can include it is as follows
Step:
In step S210, the application program that receive user sends deletes instruction.
For example, terminal chooses operation by obtaining user what application program image was put on, so as to the application for choosing user
The program listing of Program Generating application program to be deleted
In step S220, the program listing that instruction generates application program to be deleted is deleted according to application program.
Wherein, application program to be deleted is arranged in the system partitioning of terminal, i.e., commonly called pre-installation application program.
When user needs to delete the application program in terminal, user can choose application on the display interface of terminal
The corresponding mark of program.Terminal can obtain selection operation of the user in display interface, and the selection operation is corresponded to into application program
Mark generate a program listing, the program listing is the program listing of application program to be deleted.
In step S230, program listing is sent to into server, so that server is according to the program listing for receiving, it is raw
Into system upgrade bag.
Terminal can be sent to specific server with by the program listing of the application program to be deleted for generating, so as to the service
Device generates corresponding AKU after the program listing for receiving terminal transmission.
In step S240, the system upgrade bag that server sends is obtained.
After server generates system upgrade bag, the system upgrade bag can be sent to terminal, at this moment terminal can be received
The system upgrade bag that server method sends.
In step s 250, under the system upgrade pattern of terminal, runtime AKU, by application program to be deleted
Destination application delete from terminal.
After the system upgrade bag for receiving server transmission, system upgrade pattern can be entered with control terminal.It is exemplary
, by taking Android system as an example, control terminal enters recovery systems, and at this moment the system partitioning of terminal can be changed into from read-only status
Read-write state.At this moment the system upgrade bag that runtime server sends, by the destination application in application program to be deleted from end
Delete in end.
Wherein, due to having many system files, and these system files in terminal once being deleted, terminal can not be normal
Operation.Therefore, delete in order to avoid the user included in application program to be deleted to be falsely dropped system file such as, cause terminal
The situation that system cannot normally be run occurs, and needs filter out the intended application journey that can be deleted from application program to be deleted
Sequence, the destination application is deleted from terminal.
Applied program processing method provided in an embodiment of the present invention, deletes according to the application program for receiving user's transmission and refers to
Order generates the program listing of application program to be deleted, and the program listing is sent to into server, sends server is got
System upgrade bag after, under the system upgrade pattern of terminal, the system upgrade bag is run, by the mesh in application program to be deleted
Mark application program is deleted from terminal.So, when user needs to need to delete by pre-installed applications program in terminal etc., can be with
Avoid by its direct deletion, and to cause to be preinstalled application program because of the system partitioning that pre-installed applications program is arranged on terminal
The resource of occupancy cannot be reclaimed in time, and then have a strong impact on the problem of the operational efficiency of terminal.
In order to ensure that server is sent to the safety of the system upgrade bag of terminal, as the refinement of Fig. 2 methods, at this
In bright another embodiment, as shown in figure 3, after step S230, the method can also comprise the steps:
In step S260, the private key of terminal is obtained.
Because terminal needs to carry out data interaction by network and server, it is in order to avoid what server was sent to terminal
System AKU goes wrong, and such as usurps or change system upgrade bag because of packet loss phenomenon caused by network, by disabled user's abduction
Or server sends the system upgrade bag of mistake to generation situations such as terminal, in turn results in terminal staging mistake, causes terminal
There are abnormal conditions in system, and terminal needs server to work overtime system upgrade bag, to ensure transmission safety etc..
In step S270, private key is sent to into server so that server according to the private key for receiving to system upgrade
Bag is signed.
The embodiment of the present invention is that its private key is sent to server by terminal, so that server passes through the private key to system upgrade
Bag is signed, and such terminal is carried out after the system upgrade bag for receiving server transmission to the signature of the system upgrade bag
Checking, it is ensured that the safety of system upgrade bag transmission and correct.
In order to the system upgrade bag for verifying server transmission it is whether correct, as the refinement of Fig. 3 methods, in the another of the present invention
In one embodiment, as shown in figure 4, before step S250, the method can also comprise the steps:
In step S280, the signature of system upgrade bag is verified by private key.
The embodiment of the present invention is serviced equivalent to by being encrypted and decrypted to system upgrade bag using same private key
Device is signed according to the private key of terminal to system upgrade bag, and in terminal the system upgrade of server by utilizing private key signature is got
Bao Shi, can also be verified using the private key to the signature of the system upgrade bag.
In step S290, judge whether the signature of system upgrade bag verifies and pass through.
When the signature check of system upgrade bag passes through, execution step S240.
If server is the private key provided using terminal signed to system upgrade bag, then terminal is by using this
Private key can pass through to the signature check of system upgrade bag, and otherwise signature check cannot pass through, and so may insure that terminal is obtained
To system upgrade bag be safe, be also needed for.
In order to elaborate how terminal deletes the destination application in application program to be deleted, as Fig. 2 methods
Refinement, the present invention provide another embodiment in, as shown in figure 5, step S250 can also comprise the steps:
In step S251, Run Script program.
The shell script can normally run, for deleting equivalent to an operation program in the existing system of terminal
Destination application.For example, the system in terminal is under recovery patterns, runs the shell script, to perform for deleting
Except the operation of destination application.
In step S252, the destination application deleted needed for application program to be deleted is determined.
In step S253, destination application is deleted from terminal.
After the program listing of application program to be deleted is sent to server by terminal, server can be by the program listing
Can not delete as system file is deleted from the program listing, therefore, the program to be deleted deleted needed for user may be only
A part therein needs to delete, i.e., the destination application in application program to be deleted needs to delete, and then determines to be deleted
Destination application in application program.
Applied program processing method provided in an embodiment of the present invention, terminal is by obtaining the application journey to be deleted that user chooses
The program listing of sequence, and the program listing is sent to into server, after the system upgrade bag for getting server transmission, at end
Under the system upgrade pattern at end, the system upgrade bag is run, by the destination application in application program to be deleted from terminal
Delete.So, when user needs to need to delete by pre-installed applications program in terminal etc., can avoid because of pre-installed applications program
Can not be by its direct deletion installed in the system partitioning of terminal, and the resource for causing to be preinstalled application program occupancy cannot be timely
Reclaim, and then have a strong impact on the problem of the operational efficiency of terminal.
And terminal can also send key to server, so that server is carried out by the key pair system upgrade file
Signature, it is ensured that the safety of network transmission.In the system upgrade file that terminal is obtained, not comprising file content, comprising required use
In the shell script of delete target application program.During the system of upgrading terminals, the version without the need for considering terminal system,
And the system of terminal will not be impacted, the particular demands of user can be directed to and obtain corresponding system upgrade bag.
In order to elaborate the execution flow process of above-mentioned server side, with reference to the various embodiments described above, provide again in the present invention
In one embodiment, a kind of applied program processing method is additionally provided, be applied to server, as shown in fig. 6, the method can include
Following steps:
In step S610, the program listing of the application program to be deleted that terminal sends is obtained.
Wherein, identification information of the program listing comprising application program to be deleted.
In step S620, the destination application in application program to be deleted is determined.
Can be by way of screening, should as target using the application program for meeting deletion condition in application program to be deleted
Use program.
In step S630, system upgrade bag is generated according to the identification information of destination application.
In step S640, system upgrade bag is sent to into terminal, so that terminal is deleted according to the system upgrade bag for receiving
Except the destination application in terminal.
Wherein, system upgrade bag, including:For the shell script of delete target application program.
The identification information of the destination application deleted needed for by obtaining, the identification information of destination application is added
To in the middle of the shell script, such terminal can delete the application journey corresponding with the identification information when the shell script is run
Sequence, without deleting other application programs, it is ensured that the correctness in the process of implementation of system upgrade.
In order to elaborate on how to determine the destination application in application program to be deleted, as the refinement of Fig. 6 methods,
In the another embodiment that the present invention is provided, as shown in fig. 7, step S620 can also comprise the steps:
In step S621, the identification information that system file whether is included in program listing is detected.
When the identification information comprising system file in program listing, in step S622, the mark of system file is believed
Breath is removed from the application list to be deleted, obtains object listing.
Due to critically important for system file counterpart terminal system normally operation, if being falsely dropped and deleted by user, very may be used
The system of terminal can be caused cannot normally be run, accordingly, it would be desirable to by the identification information of system file from application program to be deleted
Delete, it is to avoid system file is deleted and causes the system of terminal normally to run.
In step S623, using the corresponding application program of object listing as destination application.
When the identification information not comprising system file in program listing, in step S624, by application program to be deleted
As destination application.
If in program listing not including system file identification information, then just can using application program to be deleted as
Destination application.
As the refinement of Fig. 6 methods, in the another embodiment that the present invention is provided, as shown in figure 8, step S640 it
Before, the method can also comprise the steps:
It is private key in step S650, obtaining terminal and sending.
In step S660, system upgrade bag is signed by private key.
The embodiment has more detailed elaboration above-mentioned, is not repeating here.
Applied program processing method provided in an embodiment of the present invention, in server the application to be deleted of terminal transmission is got
During the program listing of program, the destination application deleted needed for application program to be deleted is determined, and according to intended application
The identification information of program generates system upgrade bag, so as to terminal according to the system upgrade bag to system upgrade, in deleting terminal
Destination application.During server generates system upgrade bag, in the program listing that can be sent from terminal, removal can not be deleted
The identification information of the system file for removing, it is ensured that the application program deleted by system upgrade bag does not interfere with stablizing for terminal system
Property.In addition, server can also obtain the key of terminal transmission, signed by key pair system AKU, it is ensured that system
The safety that AKU is transmitted when terminal is sent to.
The description of the embodiment of the method by more than, those skilled in the art can be understood that of the invention real
Applying example can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but many situations
It is lower the former be more preferably embodiment.Based on such understanding, the technical scheme of the embodiment of the present invention is substantially in other words to existing
There is the part that technology contributes to embody in the form of software product, the computer software product is stored in one and deposits
In storage media, including some instructions are used so that a computer equipment (can be personal computer, server, or network
Equipment etc.) perform all or part of step of each embodiment methods described of the invention.And aforesaid storage medium includes:It is read-only
Memorizer (ROM), random access memory (RAM), magnetic disc or CD etc. are various can be with the medium of store program codes.
In addition, used as the realization to the various embodiments described above, the embodiment of the present invention additionally provides a kind of application program and processes dress
Put, the device is located in terminal, as shown in figure 9, the device includes:
Command reception module 10, for the application program that receive user sends instruction is deleted;
Program listing generation module 20, for deleting the journey that instruction generates application program to be deleted according to the application program
Sequence table, the application program to be deleted is arranged in the system partitioning of the terminal;
Program listing sending module 30, for described program list to be sent to into server so that the server according to
The described program list for receiving, generates system upgrade bag;
AKU acquisition module 40, for obtaining the system upgrade bag that the server sends;
Program removing module 50, under system upgrade pattern, runs the system upgrade bag, described to be deleted will answer
Deleted from the terminal with the destination application in program.
In still another embodiment of the process, based on Fig. 9, as shown in Figure 10, the device also includes:
Private key acquisition module 60, for obtaining the private key of the terminal;
Private key sending module 70, for the private key to be sent to into the server, so that the server is according to reception
To the private key system upgrade bag is signed.
In still another embodiment of the process, based on Figure 10, as shown in figure 11, the device also includes:
Correction verification module 80, for being verified to the signature of the system upgrade bag by the private key;
Verification judge module 90, passes through for judging whether the signature of the system upgrade bag verifies;
In still another embodiment of the process, based on Fig. 9, as shown in figure 12, the system upgrade bag, including:For deleting
The shell script of destination application;Program removing module 50, including:
Script runs submodule 51, runs the shell script;
Program determination sub-module 52, for determining the destination application deleted needed for the application program to be deleted;
Program deletes submodule 53, for the destination application to be deleted from the terminal.
Used as the realization to the various embodiments described above, the embodiment of the present invention additionally provides a kind of application processing apparatus, should
Device is located in server, and as shown in figure 13, the device includes:
Program listing acquisition module 91, for obtaining the program listing of the application program to be deleted of terminal transmission, the journey
Identification information of the sequence table comprising the application program to be deleted;
Destination application determining module 92, for determining the application program to be deleted in destination application;
AKU generation module 93, for generating system upgrade bag, institute according to the identification information of the destination application
System upgrade bag is stated, including:For the shell script of delete target application program;
AKU sending module 94, for the system upgrade bag to be sent to into the terminal so that the terminal according to
The system upgrade bag for receiving, deletes the destination application in the terminal.
In still another embodiment of the process, based on Figure 13, as shown in figure 14, destination application determining module 92, including:
Identification information detection sub-module 921, for detecting described program list in whether the mark comprising system file believe
Breath;
Object listing acquisition submodule 922, for the identification information comprising system file in described program list
When, the identification information of the system file is removed from described the application list, obtain object listing;
Destination application determination sub-module 923, for using the corresponding application program of the object listing as institute
State destination application.
In still another embodiment of the process, based on Figure 13, as shown in figure 15, the device also includes:
Private key acquisition module 95, is private key for obtaining the terminal and sending;
Signature blocks 96, for being signed to the system upgrade bag by the private key.
With regard to the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant the method
Embodiment in be described in detail, explanation will be not set forth in detail herein.
The embodiment of the present invention also provides a kind of device, and as shown in figure 16, the device 210 includes:At least one processor
211st, at least one bus 212, at least one communication interface 213 and at least one memorizer 214, wherein,
Memorizer 211 is used to store computer executed instructions;Memorizer 204 can include read only memory and random access memory
Memorizer, and to the provide instruction and data of processor 201.The a part of of memorizer 204 can also deposit including non-volatile random
Access to memory (NVRAM, Non-Volatile Random Access Memory);
Processor 211 is connected with communication interface 213, memorizer 214 by bus 212;
In an embodiment of the invention, the device 210 can be a kind of terminal, when the terminal operating, processor 211
The computer executed instructions stored in memorizer 214 are performed, processor 211 can perform the step in embodiment illustrated in fig. 2, used
In:
The application program that receive user sends deletes instruction;
The program listing that instruction generates application program to be deleted, the application journey to be deleted are deleted according to the application program
Sequence is arranged in the system partitioning of the terminal;
Described program list is sent to into server, so that the server is according to the described program list for receiving, it is raw
Into system upgrade bag;
Obtain the system upgrade bag that the server sends;
Under system upgrade pattern, the system upgrade bag is run, by the intended application in the application program to be deleted
Program is deleted from the terminal.
In an embodiment of the invention, the device 210 can be a kind of server, when the server runs, process
Device 211 performs the computer executed instructions stored in memorizer 214, and processor 211 can perform the step in embodiment illustrated in fig. 6
Suddenly, it is used for:
The program listing of the application program to be deleted that terminal sends is obtained, described program list includes the application to be deleted
The identification information of program;
Determine the destination application in the application program to be deleted;
According to the identification information of the destination application generate system upgrade bag, the system upgrade bag, including:For
The shell script of delete target application program;
The system upgrade bag is sent to into the terminal, so that the terminal is according to the system upgrade for receiving
Bag, deletes the destination application in the terminal.
In addition, in the another embodiment that the present invention is provided, with reference to Fig. 1, a kind of application program processing system is additionally provided,
The system includes:Terminal and server;Wherein:
The terminal obtains the program listing of application program to be deleted, and described program list is sent to into the server;
The server obtains the program listing of the application program to be deleted that the terminal sends, described the application list
Identification information comprising application program to be deleted;
The server determines the destination application in the application program to be deleted, and according to the intended application journey
The identification information generation system upgrade bag of sequence, the system upgrade bag, including:For the script journey of delete target application program
Sequence;And the system upgrade bag is sent to into the terminal;
The terminal obtains the system upgrade bag that the server sends;And under the system upgrade pattern of the terminal,
The system upgrade bag is run, will be deleted in the destination application weight terminal in the application program to be deleted.
It is understood that the embodiment of the present invention can be used in numerous general or special purpose computing system environment or configuration.
For example:Personal computer, server computer, handheld device or portable set, laptop device, multicomputer system, base
System, set top box, programmable consumer-elcetronics devices in microprocessor, network PC, minicomputer, mainframe computer, bag
Include distributed computing environment of any of the above system or equipment etc..
The embodiment of the present invention can be described in the general context of computer executable instructions, example
Such as program module.Usually, program module include performing particular task or realize the routine of particular abstract data type, program,
Object, component, data structure etc..The embodiment of the present invention can also be in a distributed computing environment put into practice, it is distributed at these
In computing environment, by the remote processing devices connected by communication network task is performed.In a distributed computing environment,
Program module may be located at including in the local and remote computer-readable storage medium including storage device.
It should be noted that herein, the relational terms of such as " first " and " second " or the like are used merely to one
Individual entity or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or operate it
Between there is any this actual relation or order.And, term " including ", "comprising" or its any other variant are intended to
Cover including for nonexcludability, so that a series of process, method, article or equipment including key elements not only includes those
Key element, but also including other key elements being not expressly set out, or also include for this process, method, article or set
Standby intrinsic key element.In the absence of more restrictions, the key element for being limited by sentence "including a ...", it is not excluded that
Also there is other identical element in the process including the key element, method, article or equipment.
Those skilled in the art will readily occur to this after considering description and putting into practice inventive embodiments disclosed herein
Other embodiments of bright embodiment.The application is intended to any modification, purposes or the adaptability of the embodiment of the present invention and becomes
Change, these modifications, purposes or adaptations follow the general principle of the embodiment of the present invention and including the embodiment of the present invention
Undocumented common knowledge or conventional techniques in the art.Description and embodiments be considered only as it is exemplary,
The true scope and spirit of the embodiment of the present invention is pointed out by claim below.
It should be appreciated that the embodiment of the present invention is not limited to the accurate knot for being described above and being shown in the drawings
Structure, and can without departing from the scope carry out various modifications and changes.The scope of the embodiment of the present invention is only by appended right
Require to limit.
Claims (9)
1. a kind of applied program processing method, is applied to terminal, it is characterised in that methods described includes:
The application program that receive user sends deletes instruction;
The program listing that instruction generates application program to be deleted, the application program peace to be deleted are deleted according to the application program
In being mounted in the system partitioning of the terminal;
Described program list is sent to into server, so that the server is according to the described program list for receiving, system is generated
System AKU;
Obtain the system upgrade bag that the server sends;
Under system upgrade pattern, the system upgrade bag is run, by the destination application in the application program to be deleted
Delete from the terminal.
2. applied program processing method according to claim 1, it is characterised in that send described program list described
After server, methods described also includes:
Obtain the private key of the terminal;
The private key is sent to into the server so that the server according to the private key for receiving to the system liter
Level bag is signed.
3. applied program processing method according to claim 2, it is characterised in that methods described also includes:
The signature of the system upgrade bag is verified by the private key;
Judge whether the signature of the system upgrade bag verifies to pass through;
When the signature check of the system upgrade bag passes through, described under system upgrade pattern, the operation system liter is performed
The step of level bag.
4. applied program processing method according to claim 1, it is characterised in that the system upgrade bag, including:For
Delete the shell script of the destination application;
It is described to run the system upgrade bag, the destination application in the application program to be deleted is deleted from the terminal
Remove, including:
Run the shell script;
Determine the destination application deleted needed for the application program to be deleted;
The destination application is deleted from the terminal.
5. a kind of applied program processing method, is applied to server, it is characterised in that methods described includes:
The program listing of the application program to be deleted that terminal sends is obtained, described program list includes the application program to be deleted
Identification information;
Determine the destination application in the application program to be deleted;
According to the identification information of the destination application generate system upgrade bag, the system upgrade bag, including:For deleting
The shell script of the destination application;
The system upgrade bag is sent to into the terminal, so that the terminal is deleted according to the system upgrade bag for receiving
Except the destination application in the terminal.
6. applied program processing method according to claim 5, it is characterised in that the determination application journey to be deleted
Destination application in sequence, including:
Whether the identification information of system file is included in detection described program list;
When the identification information comprising system file in described program list, the identification information of the system file is answered from described
Removed with program listing, obtain object listing;
Using the corresponding application program of the object listing as the destination application.
7. applied program processing method according to claim 5, it is characterised in that send out the system upgrade bag described
Before giving the terminal, methods described also includes:
It is private key to obtain the terminal and send;
The system upgrade bag is signed by the private key.
8. a kind of terminal, it is characterised in that include:
Processor;
For storing the memorizer of processor executable;
Wherein, the processor is configured to:
Obtain the application program deletion instruction that user sends;
The program listing that instruction generates application program to be deleted, the application program peace to be deleted are deleted according to the application program
In being mounted in the system partitioning of the terminal;
Described program list is sent to into server, so that the server is according to the described program list for receiving, system is generated
System AKU;
Obtain the system upgrade bag that the server sends;
Under the system upgrade pattern of the terminal, the system upgrade bag is run, by the mesh in the application program to be deleted
Mark application program is deleted from the terminal.
9. a kind of server, it is characterised in that include:
Processor;
For storing the memorizer of processor executable;
Wherein, the processor is configured to:
The program listing of the application program to be deleted that terminal sends is obtained, described the application list includes application program to be deleted
Identification information;
Determine the destination application in the application program to be deleted;
According to the identification information of the destination application generate system upgrade bag, the system upgrade bag, including:For deleting
The shell script of destination application;
The system upgrade bag is sent to into the terminal, so that the terminal is deleted according to the system upgrade bag for receiving
Except the destination application in the terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610917186.6A CN106569851B (en) | 2016-10-21 | 2016-10-21 | Application program processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610917186.6A CN106569851B (en) | 2016-10-21 | 2016-10-21 | Application program processing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106569851A true CN106569851A (en) | 2017-04-19 |
CN106569851B CN106569851B (en) | 2020-10-02 |
Family
ID=58533869
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610917186.6A Active CN106569851B (en) | 2016-10-21 | 2016-10-21 | Application program processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106569851B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107562452A (en) * | 2017-07-26 | 2018-01-09 | 捷开通讯(深圳)有限公司 | Terminal preset application update method, intelligent terminal and the device with store function |
CN108037950A (en) * | 2017-12-27 | 2018-05-15 | 福建中金在线信息科技有限公司 | A kind of information deletion method, device, electronic equipment and readable storage medium storing program for executing |
CN111198793A (en) * | 2018-11-19 | 2020-05-26 | 北京京东尚科信息技术有限公司 | Data deleting method and system, medium and computer system |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102801755A (en) * | 2011-05-27 | 2012-11-28 | 腾讯科技(深圳)有限公司 | Application management method and application platform |
CN103116545A (en) * | 2013-02-04 | 2013-05-22 | 青岛海信传媒网络技术有限公司 | Intelligent terminal upgrade detection method and system |
JP2013105477A (en) * | 2011-11-17 | 2013-05-30 | Nakayo Telecommun Inc | Portable terminal system having function of deleting application program |
CN103268239A (en) * | 2013-05-15 | 2013-08-28 | 百度在线网络技术(北京)有限公司 | Application program management method and device of mobile terminal and mobile terminal |
US20130225148A1 (en) * | 2012-02-24 | 2013-08-29 | Pantech Co., Ltd. | Terminal with module protection and module managing method |
CN103309699A (en) * | 2012-03-16 | 2013-09-18 | 宇龙计算机通信科技(深圳)有限公司 | Mobile terminal and application program installation method |
CN103617058A (en) * | 2013-11-28 | 2014-03-05 | 惠州华阳通用电子有限公司 | QNX-based system and method for installing and uninstalling application software |
CN103699420A (en) * | 2013-12-31 | 2014-04-02 | 海信集团有限公司 | System recovery method and system recovery device |
CN104199697A (en) * | 2014-08-27 | 2014-12-10 | 北京金山安全软件有限公司 | Pre-installed software management method and device and terminal |
CN104239041A (en) * | 2014-09-03 | 2014-12-24 | 北京数字天域科技股份有限公司 | Method device and system for generating processing scheme and configuration and deleting preinstalled application |
US20150339112A1 (en) * | 2013-01-31 | 2015-11-26 | Samsung Electronics Co., Ltd. | Method of and device for managing applications |
CN105278987A (en) * | 2015-09-30 | 2016-01-27 | 联想(北京)有限公司 | Information processing method and electronic device |
CN105867947A (en) * | 2016-04-25 | 2016-08-17 | 青岛海信电器股份有限公司 | Data processing method and device after upgrades of preset applications |
-
2016
- 2016-10-21 CN CN201610917186.6A patent/CN106569851B/en active Active
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102801755A (en) * | 2011-05-27 | 2012-11-28 | 腾讯科技(深圳)有限公司 | Application management method and application platform |
JP2013105477A (en) * | 2011-11-17 | 2013-05-30 | Nakayo Telecommun Inc | Portable terminal system having function of deleting application program |
US20130225148A1 (en) * | 2012-02-24 | 2013-08-29 | Pantech Co., Ltd. | Terminal with module protection and module managing method |
CN103309699A (en) * | 2012-03-16 | 2013-09-18 | 宇龙计算机通信科技(深圳)有限公司 | Mobile terminal and application program installation method |
US20150339112A1 (en) * | 2013-01-31 | 2015-11-26 | Samsung Electronics Co., Ltd. | Method of and device for managing applications |
CN103116545A (en) * | 2013-02-04 | 2013-05-22 | 青岛海信传媒网络技术有限公司 | Intelligent terminal upgrade detection method and system |
CN103268239A (en) * | 2013-05-15 | 2013-08-28 | 百度在线网络技术(北京)有限公司 | Application program management method and device of mobile terminal and mobile terminal |
CN103617058A (en) * | 2013-11-28 | 2014-03-05 | 惠州华阳通用电子有限公司 | QNX-based system and method for installing and uninstalling application software |
CN103699420A (en) * | 2013-12-31 | 2014-04-02 | 海信集团有限公司 | System recovery method and system recovery device |
CN104199697A (en) * | 2014-08-27 | 2014-12-10 | 北京金山安全软件有限公司 | Pre-installed software management method and device and terminal |
CN104239041A (en) * | 2014-09-03 | 2014-12-24 | 北京数字天域科技股份有限公司 | Method device and system for generating processing scheme and configuration and deleting preinstalled application |
CN105278987A (en) * | 2015-09-30 | 2016-01-27 | 联想(北京)有限公司 | Information processing method and electronic device |
CN105867947A (en) * | 2016-04-25 | 2016-08-17 | 青岛海信电器股份有限公司 | Data processing method and device after upgrades of preset applications |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107562452A (en) * | 2017-07-26 | 2018-01-09 | 捷开通讯(深圳)有限公司 | Terminal preset application update method, intelligent terminal and the device with store function |
CN108037950A (en) * | 2017-12-27 | 2018-05-15 | 福建中金在线信息科技有限公司 | A kind of information deletion method, device, electronic equipment and readable storage medium storing program for executing |
CN108037950B (en) * | 2017-12-27 | 2021-08-24 | 福建中金在线信息科技有限公司 | Information deleting method and device, electronic equipment and readable storage medium |
CN111198793A (en) * | 2018-11-19 | 2020-05-26 | 北京京东尚科信息技术有限公司 | Data deleting method and system, medium and computer system |
Also Published As
Publication number | Publication date |
---|---|
CN106569851B (en) | 2020-10-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106598835B (en) | Application testing method, device and system | |
CN109086079B (en) | Mounting management method and device for storage equipment | |
CN110597531B (en) | Distributed module upgrading method and device and storage medium | |
CN106572372A (en) | Set-top box upgrading method and set-top box | |
CN106484450A (en) | A kind of method for upgrading software and device | |
CN106569851A (en) | Application processing method and device | |
CN110995825B (en) | Intelligent contract issuing method, intelligent node equipment and storage medium | |
CN108287769B (en) | Information processing method and device | |
CN106548065B (en) | Application program installation detection method and device | |
CN105930058A (en) | Application starting method and apparatus for mobile terminal and mobile terminal | |
CN105260655A (en) | Application program starting protection method, device and system | |
CN111831300A (en) | APP updating method and device, electronic equipment and computer readable storage medium | |
CN106201787A (en) | Terminal control method and device | |
CN112256295A (en) | Application program updating method, device, equipment and storage medium | |
CN110134546B (en) | Batch restarting windows system method, electronic device and storage medium | |
CN110413341A (en) | A kind of starting method, apparatus, terminal and the medium of application program | |
CN107885548B (en) | System starting method and device | |
CN111475226B (en) | Electronic device, micro-service calling method, and computer-readable storage medium | |
CN111797016B (en) | Application program testing method, device, storage medium and device | |
CN112596750B (en) | Application testing method and device, electronic equipment and computer readable storage medium | |
EP4086756A1 (en) | Method and apparatus for processing virtual machine component | |
CN115437564A (en) | Storage optimization method and device for Android installation application and Android system | |
CN110795334B (en) | Testing device and method | |
CN110659052B (en) | Method and system for updating system software in network equipment and readable storage medium | |
CN106354602A (en) | Service monitoring method and equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218 Applicant after: Hisense Visual Technology Co., Ltd. Address before: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218 Applicant before: QINGDAO HISENSE ELECTRONICS Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |