CN106569851B - Application program processing method and device - Google Patents

Application program processing method and device Download PDF

Info

Publication number
CN106569851B
CN106569851B CN201610917186.6A CN201610917186A CN106569851B CN 106569851 B CN106569851 B CN 106569851B CN 201610917186 A CN201610917186 A CN 201610917186A CN 106569851 B CN106569851 B CN 106569851B
Authority
CN
China
Prior art keywords
application program
terminal
program
deleted
upgrade package
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610917186.6A
Other languages
Chinese (zh)
Other versions
CN106569851A (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.)
Hisense Visual Technology Co Ltd
Original Assignee
Hisense Visual Technology Co 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 Hisense Visual Technology Co Ltd filed Critical Hisense Visual Technology Co Ltd
Priority to CN201610917186.6A priority Critical patent/CN106569851B/en
Publication of CN106569851A publication Critical patent/CN106569851A/en
Application granted granted Critical
Publication of CN106569851B publication Critical patent/CN106569851B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation 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/5022Mechanisms 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

The embodiment of the invention relates to an application program processing method and a device, wherein the method comprises the following steps: receiving an application program deleting instruction sent by a user; generating a program list of the application program to be deleted according to the application program deleting instruction, and sending the program list to a server so that the server generates a system upgrading package according to the received program list; acquiring a system upgrade package sent by the server; and in a system upgrading mode, operating the system upgrading package, and deleting the target application program in the application programs to be deleted from the terminal. Therefore, when a user needs to delete the pre-installed application program and the like in the terminal, the problem that the resources occupied by the pre-installed application program cannot be timely recovered and further the operation efficiency of the terminal is seriously influenced because the pre-installed application program cannot be directly deleted because the pre-installed application program is installed in the system partition of the terminal can be avoided.

Description

Application program processing method and device
Technical Field
The embodiment of the invention relates to the technical field of software, in particular to an application program processing method and device.
Background
With the continuous development of technology, the variety and types of terminal products that can be provided to users are increasing, for example: smart phones, tablet computers, televisions, and the like. In order to adapt to various aspects of needs, a user can acquire a required application program in an application store. In order to meet the requirements of users and the needs of service cooperation and promotion, terminal manufacturers usually pre-install some application programs in the terminals before leaving factories.
Taking a television as an example, in the process of implementing the invention, the inventor finds that after the television is used by a user for a period of time, a television manufacturer does not provide maintenance for the television. Because the preinstalled application programs in the television are installed in the system partition of the system, a user cannot directly uninstall the preinstalled application programs, and the preinstalled application programs may always occupy resources such as Flash control and memory of the system in the running process of the television. However, since the pre-installed application in the terminal cannot be directly uninstalled by the user, the resources occupied by the pre-installed application cannot be timely recovered, and the operating efficiency of the terminal is seriously affected.
Disclosure of Invention
In order to overcome the problem that resources occupied by a pre-installed application cannot be timely recovered and further the operation efficiency of a terminal is seriously affected in the related art, the embodiment of the invention provides an application processing method and an application processing device.
According to a first aspect of the embodiments of the present invention, there is provided an application processing method applied to a terminal, the method including:
receiving an application program deleting instruction sent by a user;
generating a program list of the application program to be deleted according to the application program deleting instruction, wherein the application program to be deleted is installed in a system partition of the terminal;
sending the program list to a server so that the server generates a system upgrading package according to the received program list;
acquiring a system upgrade package sent by the server;
and in a system upgrading mode, operating the system upgrading package, and deleting the target application program in the application programs to be deleted from the terminal.
According to a second aspect of the embodiments of the present invention, there is provided an application processing method applied to a server, the method including:
acquiring a program list of an application program to be deleted, which is sent by a terminal, wherein the program list comprises identification information of the application program to be deleted;
determining a target application program in the application programs to be deleted;
generating a system upgrade package according to the identification information of the target application program, wherein the system upgrade package comprises: a script program for deleting the target application program;
and sending the system upgrading packet to the terminal so that the terminal deletes the target application program in the terminal according to the received system upgrading packet.
According to a third aspect of the embodiments of the present invention, there is provided a terminal, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring an application program deleting instruction sent by a user;
generating a program list of the application program to be deleted according to the application program deleting instruction, wherein the application program to be deleted is installed in a system partition of the terminal;
sending the program list to a server so that the server generates a system upgrading package according to the received program list;
acquiring a system upgrade package sent by the server;
and under the system upgrading mode of the terminal, operating the system upgrading package, and deleting the target application program in the application programs to be deleted from the terminal.
According to a fourth aspect of the embodiments of the present invention, there is provided a server including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring a program list of an application program to be deleted, which is sent by a terminal, wherein the application program list comprises identification information of the application program to be deleted;
determining a target application program in the application programs to be deleted;
generating a system upgrade package according to the identification information of the target application program, wherein the system upgrade package comprises: a script program for deleting the target application program;
and sending the system upgrading packet to the terminal so that the terminal deletes the target application program in the terminal according to the received system upgrading packet.
The technical scheme provided by the embodiment of the invention can have the following beneficial effects:
according to the application program processing method and device provided by the embodiment of the invention, the terminal generates the program list of the application program to be deleted selected by the user according to the application program deleting instruction sent by the user, sends the program list to the server, runs the system upgrading package in the system upgrading mode of the terminal after acquiring the system upgrading package sent by the server, and deletes the target application program in the application program to be deleted from the terminal. Therefore, when a user needs to delete the pre-installed application program and the like in the terminal, the problem that the resources occupied by the pre-installed application program cannot be timely recovered and further the operation efficiency of the terminal is seriously influenced because the pre-installed application program cannot be directly deleted because the pre-installed application program is installed in the system partition of the terminal can be avoided.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of embodiments of the invention.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the embodiments of the invention.
FIG. 1 is a schematic diagram illustrating an application scenario for application processing according to an exemplary embodiment of the present invention;
FIG. 2 is a flow chart illustrating a method of application processing according to an exemplary embodiment of the present invention;
FIG. 3 is a flowchart illustrating an application processing method according to another exemplary embodiment of the present invention;
FIG. 4 is a flowchart illustrating an application processing method according to yet another exemplary embodiment of the present invention;
FIG. 5 is a flowchart of step S250 in FIG. 2;
FIG. 6 is a flowchart illustrating an application processing method according to yet another exemplary embodiment of the present invention;
fig. 7 is a flowchart of step S620 in fig. 6;
FIG. 8 is a flowchart illustrating an application processing method according to yet another exemplary embodiment of the present invention;
fig. 9 is a schematic structural diagram illustrating an application processing apparatus according to an exemplary embodiment of the present invention;
fig. 10 is a schematic structural diagram illustrating an application processing apparatus according to another exemplary embodiment of the present invention;
fig. 11 is a schematic structural diagram illustrating an application processing apparatus according to still another exemplary embodiment of the present invention;
FIG. 12 is a schematic diagram of a program delete module of FIG. 9;
fig. 13 is a schematic structural diagram illustrating an application processing apparatus according to still another exemplary embodiment of the present invention;
FIG. 14 is a schematic diagram of the target application determination module of FIG. 13;
fig. 15 is a schematic structural diagram illustrating an application processing apparatus according to still another exemplary embodiment of the present invention;
fig. 16 is a schematic diagram illustrating the structure of an apparatus according to an exemplary embodiment of the present invention.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with embodiments of the invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of embodiments of the invention, as detailed in the following claims.
Because some applications and services are no longer operated and maintained by manufacturers after the terminal is used by the user for a period of time, but many application programs in the terminal are preset in a system partition of the system by the manufacturers when the terminal leaves a factory, the users cannot directly delete the pre-installed application programs, and the pre-installed application programs may always occupy resources such as Flash control, memory and the like of the terminal in the process of using the terminal by the users.
Especially, after a few years of system operation, as the hardware products of the terminal age and the user installs many required applications in the terminal, the available resources of the terminal are very tight, and many users consider how to improve the performance of the terminal. Under the condition of not increasing the cost, the most direct and effective means for improving the performance of the terminal is to not recycle the resources occupied by the pre-installed application program in time so as to improve the operation efficiency of the terminal. However, since the pre-installed application in the terminal is installed in the system partition of the system, the user cannot directly uninstall the pre-installed application.
Under the condition that the terminal system is ensured to be stable, in order to delete a pre-installed application program in the terminal and further timely recycle resources occupied by the pre-installed application program so as to improve the operation efficiency of the terminal, the embodiment of the invention provides an application program processing method and device. The terminal in the embodiment of the present invention may be a mobile phone, a computer, a television, and the like, and the terminal in the embodiment of the present invention is taken as a television for example, which is not limited thereto.
Fig. 1 is a schematic view of an application scenario processed by an application according to an embodiment of the present invention, as shown in fig. 1, where fig. 1 includes: a television 100 and a server 200.
In the embodiment provided by the present invention, the television 100 is installed with an operating system, and the operating system may be an android system, an apple MAC OS system, a microsoft WP system, or the like. In addition, the television 100 has an application program installed thereon, which may include a pre-installed application program and a non-pre-installed application program, in addition to the operating system.
The preinstalled application program is that the television 100 is preset in a system partition of the television by a manufacturer when leaving a factory, and cannot be directly deleted by a user; the non-preinstalled application is an application that is generally acquired from an application store and installed in the television 100 as needed by the user. These non-pre-installed applications, which are typically installed in a data partition, can be deleted from the television 100 at any time, as desired by the user.
In order to delete the pre-installed application in the system partition of the television 100, the television 100 may obtain an application deletion instruction sent by a user, and generate a program list of the application to be deleted, which is installed in the system partition, according to the application deletion instruction. For example, the television 100 generates a program list of applications to be deleted from the applications selected by the user by acquiring the user's selection operation on the application icon. Wherein, the program list includes identification information of an application that the user needs to delete, and the television set 100 transmits the program list to the server 200, so that the server 200 generates a system upgrade package according to the received program list. The application program to be deleted in the embodiment of the invention refers to an application program installed in a system partition.
The user may specifically operate by means of a tool such as a television assistant on the television 100, for example, the user selects an application program to be deleted from the television assistant and executes a deletion action, and when the television 100 detects the deletion action triggered by the user, the television 100 generates a program list of the application program to be deleted from identification information of the application program to be deleted selected by the user, and sends the program list of the application program to be deleted to the server 200. In addition, the terminal 100 may also transmit its own key to the server 200 so that the server 200 signs the generated upgrade package according to the key.
After acquiring the program list sent by the television 100, in order to prevent a user from mistakenly selecting a system file into the program list and avoid a situation that a system of the terminal cannot normally operate due to mistakenly deleting the system file, the server 200 may check whether the program list includes identification information of the system file, and if so, the server 200 removes the identification information of the system file in the program list, thereby determining a target application program in the application program to be deleted.
The server 200 generates a system upgrade package according to the identification information of the target application program, acquires a key sent by the terminal 100, signs the system upgrade package through the key, and sends the signed system upgrade package to the terminal 100.
The terminal 100 acquires the system upgrade package sent by the server 200, verifies the signature of the system upgrade package through its own secret key, and operates the system upgrade package in the system upgrade mode of the terminal 100 if the verification is passed. Wherein, this system upgrade package includes: a script program for deleting the target application program. And running the system upgrade package, namely running the script program for deleting the target application program, and deleting the target application program in the application program to be deleted. The target application program is a pre-installed application program, and system files or other application programs selected by a user by mistake can be prevented from being deleted.
In addition, the embodiment provided by the invention can delete the pre-installed application program required to be deleted by the user, and can delete other application programs required to be deleted according to the requirement. For example, if a user has many applications installed on the terminal and many applications need to be deleted, and deleting each application one by one brings many complicated operations to the user, the application processing method and apparatus provided by the present invention may also delete the applications that the user needs to delete in batch, and the applications may be pre-installed applications.
In order to elaborate the execution flow of the terminal side, in combination with the above embodiments, in another embodiment provided by the present invention, an application processing method is further provided, which is applied to a terminal, as shown in fig. 2, the method may include the following steps:
in step S210, an application deletion instruction sent by the user is received.
For example, the terminal acquires the checking operation of the user on the application icon so as to generate the application program checked by the user into a program list of the application program to be deleted
In step S220, a program list of the application to be deleted is generated according to the application deletion instruction.
The application to be deleted is installed in the system partition of the terminal, which is generally called a pre-installed application.
When the user needs to delete the application program in the terminal, the user can check the identifier corresponding to the application program on the display interface of the terminal. The terminal obtains the selection operation of the user on the display interface, and generates a program list corresponding to the identification of the application program corresponding to the selection operation, wherein the program list is the program list of the application program to be deleted.
In step S230, the program list is transmitted to the server, so that the server generates a system upgrade package according to the received program list.
The terminal can send the generated program list of the application program to be deleted to a specific server, so that the server can generate a corresponding upgrade package after receiving the program list sent by the terminal.
In step S240, the system upgrade package transmitted by the server is acquired.
After the server generates the system upgrade package, the system upgrade package is sent to the terminal, and the terminal receives the system upgrade package sent by the server method.
In step S250, in the system upgrade mode of the terminal, the system upgrade package is run, and the target application program of the application programs to be deleted is deleted from the terminal.
And after receiving the system upgrading packet sent by the server, the terminal can be controlled to enter a system upgrading mode. For example, taking an android system as an example, the control terminal enters a recovery system, and at this time, a system partition of the terminal is changed from a read-only state to a read-write state. And at this time, the system upgrading package sent by the server is operated, and the target application program in the application programs to be deleted is deleted from the terminal.
The terminal has many system files, and once the system files are deleted, the terminal cannot normally operate. Therefore, in order to avoid the situation that the system of the terminal cannot operate normally due to the fact that the system file included in the application program to be deleted is deleted by mistake, for example, the system file is deleted, a target application program which can be deleted needs to be screened from the application program to be deleted, and the target application program is deleted from the terminal.
According to the application program processing method provided by the embodiment of the invention, a program list of the application program to be deleted is generated according to the received application program deleting instruction sent by the user, the program list is sent to the server, after a system upgrading package sent by the server is obtained, the system upgrading package is operated in the system upgrading mode of the terminal, and the target application program in the application program to be deleted is deleted from the terminal. Therefore, when a user needs to delete the pre-installed application program and the like in the terminal, the problem that the resources occupied by the pre-installed application program cannot be timely recovered and further the operation efficiency of the terminal is seriously influenced because the pre-installed application program cannot be directly deleted because the pre-installed application program is installed in the system partition of the terminal can be avoided.
In order to ensure the security of the system upgrade package sent by the server to the terminal, as a refinement of the method of fig. 2, in another embodiment of the present invention, as shown in fig. 3, after step S230, the method may further include the following steps:
in step S260, the private key of the terminal is acquired.
Because the terminal needs to perform data interaction with the server through the network, the problem that the system upgrade package sent to the terminal by the server occurs is avoided, for example, the situation that the terminal is wrongly upgraded due to the packet loss phenomenon caused by the network, the system upgrade package is stolen or modified by being hijacked by an illegal user, or the server sends the wrong system upgrade package to the terminal occurs, and the like, and the abnormal situation of the terminal system occurs, and the terminal needs the server to overtime the system upgrade package to ensure the transmission safety and the like.
In step S270, the private key is sent to the server, so that the server signs the system upgrade package according to the received private key.
The terminal sends the private key to the server so that the server signs the system upgrade package through the private key, and therefore the terminal verifies the signature of the system upgrade package after receiving the system upgrade package sent by the server, and the safety and the correctness of the transmission of the system upgrade package are guaranteed.
In order to verify whether the system upgrade package sent by the server is correct, as a refinement of the method of fig. 3, in another embodiment of the present invention, as shown in fig. 4, before step S250, the method may further include the following steps:
in step S280, the signature of the system upgrade package is verified by the private key.
The embodiment of the invention is equivalent to encrypting and decrypting the system upgrade package by adopting the same private key, namely, the server signs the system upgrade package according to the private key of the terminal, and when the terminal acquires the system upgrade package signed by the private key of the server, the signature of the system upgrade package can be verified by utilizing the private key.
In step S290, it is determined whether the signature of the system upgrade package is verified.
When the signature verification of the system upgrade package passes, step S240 is performed.
If the server signs the system upgrade package by using the private key provided by the terminal, the terminal can pass the signature verification of the system upgrade package by using the private key, otherwise, the signature verification cannot pass, so that the system upgrade package acquired by the terminal is ensured to be safe and required.
In order to elaborate how the terminal deletes the target application program in the application programs to be deleted, as a refinement of the method in fig. 2, in a further embodiment provided by the present invention, as shown in fig. 5, step S250 may further include the following steps:
in step S251, a script program is executed.
The script program is equivalent to an operation program, and can be normally operated on the existing system of the terminal for deleting the target application program. For example, when the system of the terminal is in recovery mode, the script program is executed to perform an operation for deleting the target application program.
In step S252, a target application program to be deleted among the applications to be deleted is determined.
In step S253, the target application is deleted from the terminal.
After the terminal sends the program list of the application program to be deleted to the server, the server deletes the system files which cannot be deleted in the program list from the program list, so that only a part of the program to be deleted, which is needed to be deleted by the user, may need to be deleted, that is, the target application program in the application program to be deleted needs to be deleted, and then the target application program in the application program to be deleted is determined.
According to the application program processing method provided by the embodiment of the invention, the terminal deletes the target application program in the application program to be deleted from the terminal by acquiring the program list of the application program to be deleted selected by the user and sending the program list to the server, and operating the system upgrade package in the system upgrade mode of the terminal after acquiring the system upgrade package sent by the server. Therefore, when a user needs to delete the pre-installed application program and the like in the terminal, the problem that the resources occupied by the pre-installed application program cannot be timely recovered and further the operation efficiency of the terminal is seriously influenced because the pre-installed application program cannot be directly deleted because the pre-installed application program is installed in the system partition of the terminal can be avoided.
And the terminal can also send the key to the server, so that the server signs the system upgrade file through the key, and the security of network transmission is ensured. The system upgrade file acquired by the terminal does not contain file content, and contains a script program required for deleting the target application program. In the process of upgrading the system of the terminal, the version of the terminal system does not need to be considered, the system of the terminal is not affected, and a corresponding system upgrading package can be obtained according to the specific requirements of a user.
In order to elaborate the execution flow of the server side, in combination with the above embodiments, in another embodiment provided by the present invention, an application processing method is further provided, which is applied to a server, as shown in fig. 6, the method may include the following steps:
in step S610, a program list of applications to be deleted sent by the terminal is acquired.
Wherein, the program list contains the identification information of the application program to be deleted.
In step S620, a target application among the applications to be deleted is determined.
The application program meeting the deletion condition in the application programs to be deleted can be used as the target application program in a screening mode.
In step S630, a system upgrade package is generated according to the identification information of the target application.
In step S640, the system upgrade package is sent to the terminal, so that the terminal deletes the target application program in the terminal according to the received system upgrade package.
Wherein, the system upgrade package includes: a script program for deleting the target application program.
By acquiring the identification information of the target application program to be deleted and adding the identification information of the target application program into the script program, the terminal deletes the application program corresponding to the identification information without deleting other application programs when running the script program, thereby ensuring the correctness of system upgrading in the execution process.
To elaborate how to determine the target application in the application to be deleted, as a refinement of the method of fig. 6, in a further embodiment provided by the present invention, as shown in fig. 7, the step S620 may further include the following steps:
in step S621, it is detected whether the program list includes identification information of the system file.
When the program list includes the identification information of the system file, in step S622, the identification information of the system file is removed from the list of application programs to be deleted, so as to obtain a target program list.
Because it is important that the system file is corresponding to the normal operation of the terminal system, if the system file is deleted by mistake, the system of the terminal is likely to fail to operate normally, therefore, the identification information of the system file needs to be deleted from the application program to be deleted, and the system of the terminal is prevented from failing to operate normally due to the deletion of the system file.
In step S623, the application corresponding to the target program list is set as the target application.
When the program list does not include the identification information of the system file, the application to be deleted is set as the target application in step S624.
If the program list does not include the identification information of the system file, the application program to be deleted can be used as the target application program.
As a refinement of the method of fig. 6, in a further embodiment provided by the present invention, as shown in fig. 8, before step S640, the method may further include the steps of:
in step S650, the acquisition terminal transmits the private key.
In step S660, the system upgrade package is signed by a private key.
This embodiment has been described in more detail above and will not be described in detail here.
According to the application program processing method provided by the embodiment of the invention, when the server acquires the program list of the application programs to be deleted, which is sent by the terminal, the target application programs to be deleted in the application programs to be deleted are determined, and the system upgrade package is generated according to the identification information of the target application programs, so that the terminal can upgrade the system according to the system upgrade package and delete the target application programs in the terminal. In the process of generating the system upgrade package, the server removes the identification information of the system files which cannot be deleted from the program list sent by the terminal, and ensures that the application programs deleted by the system upgrade package do not influence the stability of the terminal system. In addition, the server can also obtain a secret key sent by the terminal, and the system upgrade package is signed through the secret key, so that the transmission safety of the system upgrade package when the system upgrade package is sent to the terminal is guaranteed.
Through the above description of the method embodiments, those skilled in the art can clearly understand that the embodiments of the present invention can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation manner in many cases. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or partially implemented in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: various media that can store program codes, such as Read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and so on.
In addition, as an implementation of the foregoing embodiments, an embodiment of the present invention further provides an application processing apparatus, where the apparatus is located in a terminal, and as shown in fig. 9, the apparatus includes:
the instruction receiving module 10 is configured to receive an application program deleting instruction sent by a user;
a program list generating module 20, configured to generate a program list of an application program to be deleted according to the application program deleting instruction, where the application program to be deleted is installed in a system partition of the terminal;
a program list sending module 30, configured to send the program list to a server, so that the server generates a system upgrade package according to the received program list;
an upgrade package obtaining module 40, configured to obtain a system upgrade package sent by the server;
and the program deleting module 50 is configured to run the system upgrade package in a system upgrade mode, and delete a target application program in the to-be-deleted application program from the terminal.
In another embodiment of the present invention, based on fig. 9, as shown in fig. 10, the apparatus further includes:
a private key obtaining module 60, configured to obtain a private key of the terminal;
a private key sending module 70, configured to send the private key to the server, so that the server signs the system upgrade package according to the received private key.
In another embodiment of the present invention, based on fig. 10, as shown in fig. 11, the apparatus further includes:
the verification module 80 is used for verifying the signature of the system upgrade package through the private key;
the checking and judging module 90 is used for judging whether the signature of the system upgrading packet passes the checking;
in another embodiment of the present invention, based on fig. 9, as shown in fig. 12, the system upgrade package includes: a script program for deleting the target application program; program deletion module 50, comprising:
a script running sub-module 51 for running the script program;
the program determining submodule 52 is configured to determine a target application program to be deleted in the to-be-deleted application programs;
and a program deleting submodule 53, configured to delete the target application program from the terminal.
As an implementation of the foregoing embodiments, an embodiment of the present invention further provides an application processing apparatus, where the apparatus is located in a server, and as shown in fig. 13, the apparatus includes:
a program list obtaining module 91, configured to obtain a program list of an application program to be deleted, where the program list includes identification information of the application program to be deleted, and the application program is sent by a terminal;
a target application determining module 92, configured to determine a target application in the to-be-deleted applications;
an upgrade package generating module 93, configured to generate a system upgrade package according to the identification information of the target application program, where the system upgrade package includes: a script program for deleting the target application program;
an upgrade package sending module 94, configured to send the system upgrade package to the terminal, so that the terminal deletes the target application program in the terminal according to the received system upgrade package.
In another embodiment of the present invention, based on fig. 13, as shown in fig. 14, the target application determining module 92 includes:
the identification information detection sub-module 921, configured to detect whether the program list includes identification information of a system file;
the target program list obtaining sub-module 922 is configured to remove the identification information of the system file from the application program list when the program list includes the identification information of the system file, so as to obtain a target program list;
and the target application program determining sub-module 923 is configured to use an application program corresponding to the target program list as the target application program.
In another embodiment of the present invention, based on fig. 13, as shown in fig. 15, the apparatus further includes:
a private key obtaining module 95, configured to obtain a private key sent by the terminal;
and the signature module 96 is configured to sign the system upgrade package through the private key.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
An embodiment of the present invention further provides an apparatus, as shown in fig. 16, where the apparatus 210 includes: at least one processor 211, at least one bus 212, at least one communication interface 213, and at least one memory 214, wherein,
memory 211 is used to store computer-executable instructions; memory 204 may include both read-only memory and random access memory and provides instructions and data to processor 201. A portion of Memory 204 may also include Non-Volatile Random Access Memory (NVRAM);
the processor 211 is connected with the communication interface 213 and the memory 214 through the bus 212;
in one embodiment of the present invention, the apparatus 210 may be a terminal, and when the terminal is running, the processor 211 executes the computer executable instructions stored in the memory 214, and the processor 211 may execute the steps in the embodiment shown in fig. 2 to:
receiving an application program deleting instruction sent by a user;
generating a program list of the application program to be deleted according to the application program deleting instruction, wherein the application program to be deleted is installed in a system partition of the terminal;
sending the program list to a server so that the server generates a system upgrading package according to the received program list;
acquiring a system upgrade package sent by the server;
and in a system upgrading mode, operating the system upgrading package, and deleting the target application program in the application programs to be deleted from the terminal.
In one embodiment of the invention, the apparatus 210 may be a server, and when the server is running, the processor 211 executes the computer executable instructions stored in the memory 214, and the processor 211 may execute the steps in the embodiment shown in fig. 6 to:
acquiring a program list of an application program to be deleted, which is sent by a terminal, wherein the program list comprises identification information of the application program to be deleted;
determining a target application program in the application programs to be deleted;
generating a system upgrade package according to the identification information of the target application program, wherein the system upgrade package comprises: a script program for deleting the target application program;
and sending the system upgrading packet to the terminal so that the terminal deletes the target application program in the terminal according to the received system upgrading packet.
In addition, in another embodiment provided by the present invention, in combination with fig. 1, there is also provided an application processing system, including: a terminal and a server; wherein:
the terminal acquires a program list of an application program to be deleted and sends the program list to the server;
the server acquires a program list of the application program to be deleted, which is sent by the terminal, wherein the application program list comprises identification information of the application program to be deleted;
the server determines a target application program in the application programs to be deleted, and generates a system upgrade package according to identification information of the target application program, wherein the system upgrade package comprises: a script program for deleting the target application program; sending the system upgrade package to the terminal;
the terminal acquires a system upgrade package sent by the server; and under the system upgrading mode of the terminal, operating the system upgrading package, and deleting the target application program in the application programs to be deleted again in the terminal.
It should be appreciated that the invention is operational with numerous general purpose or special purpose computing system environments or configurations. For example: personal computers, server computers, hand-held or portable devices, tablet-type devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like.
Embodiments of the invention may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. Embodiments of the invention may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the embodiments of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the embodiments of the invention following, in general, the principles of the embodiments of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the embodiments of the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of embodiments of the invention being indicated by the following claims.
It is to be understood that the embodiments of the present invention are not limited to the precise arrangements described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of embodiments of the invention is limited only by the appended claims.

Claims (8)

1. An application processing method applied to a terminal is characterized by comprising the following steps:
receiving an application program deleting instruction sent by a user;
generating a program list of the application program to be deleted according to the application program deleting instruction, wherein the application program to be deleted is installed in a system partition of the terminal;
sending the program list to a server so that the server generates a system upgrading package according to the received program list;
acquiring a system upgrade package sent by the server; the system upgrade package, comprising: a script program for deleting the target application program;
running the script program in a system upgrading mode;
determining a target application program required to be deleted in the application programs to be deleted;
and deleting the target application program from the terminal.
2. The application processing method according to claim 1, wherein after said transmitting the program list to a server, the method further comprises:
acquiring a private key of the terminal;
and sending the private key to the server so that the server signs the system upgrade package according to the received private key.
3. The application processing method according to claim 2, further comprising:
verifying the signature of the system upgrade package through the private key;
judging whether the signature of the system upgrade package passes the verification;
and when the signature of the system upgrade package passes the verification, executing the step of operating the system upgrade package in the system upgrade mode.
4. An application processing method applied to a server, the method comprising:
acquiring a program list of an application program to be deleted, which is sent by a terminal, wherein the program list comprises identification information of the application program to be deleted;
determining a target application program in the application programs to be deleted;
generating a system upgrade package according to the identification information of the target application program, wherein the system upgrade package comprises: a script program for deleting the target application program;
and sending the system upgrade package to the terminal, and running the script program in a system upgrade mode of the terminal so that the terminal deletes the target application program in the terminal according to the received system upgrade package.
5. The method according to claim 4, wherein the determining a target application in the applications to be deleted includes:
detecting whether the program list contains identification information of system files;
when the program list contains identification information of a system file, removing the identification information of the system file from the application program list to obtain a target program list;
and taking the application program corresponding to the target program list as the target application program.
6. The application processing method according to claim 4, wherein before the sending the system upgrade package to the terminal, the method further comprises:
acquiring a private key sent by the terminal;
and signing the system upgrading package through the private key.
7. A terminal, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring an application program deleting instruction sent by a user;
generating a program list of the application program to be deleted according to the application program deleting instruction, wherein the application program to be deleted is installed in a system partition of the terminal;
sending the program list to a server so that the server generates a system upgrading package according to the received program list;
acquiring a system upgrade package sent by the server; the system upgrade package, comprising: a script program for deleting the target application program;
running the script program in a system upgrading mode of the terminal;
determining a target application program required to be deleted in the application programs to be deleted;
and deleting the target application program from the terminal.
8. A server, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring a program list of an application program to be deleted, which is sent by a terminal, wherein the application program list comprises identification information of the application program to be deleted;
determining a target application program in the application programs to be deleted;
generating a system upgrade package according to the identification information of the target application program, wherein the system upgrade package comprises: a script program for deleting the target application program;
and sending the system upgrade package to the terminal, and running the script program in a system upgrade mode of the terminal so that the terminal deletes the target application program in the terminal according to the received system upgrade package.
CN201610917186.6A 2016-10-21 2016-10-21 Application program processing method and device Active CN106569851B (en)

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 CN106569851A (en) 2017-04-19
CN106569851B true 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)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
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
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

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103309699A (en) * 2012-03-16 2013-09-18 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and application program installation method
CN103699420A (en) * 2013-12-31 2014-04-02 海信集团有限公司 System recovery method and system recovery device
CN105278987A (en) * 2015-09-30 2016-01-27 联想(北京)有限公司 Information processing method and electronic device

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102801755B (en) * 2011-05-27 2016-03-23 腾讯科技(深圳)有限公司 A kind of management method of application and a kind of application platform
JP5821557B2 (en) * 2011-11-17 2015-11-24 株式会社ナカヨ Mobile terminal system having application program deletion function
KR101368550B1 (en) * 2012-02-24 2014-02-28 주식회사 팬택 Terminal Having Module Protecting Function and Module Managing Method Using The Same
US10545628B2 (en) * 2013-01-31 2020-01-28 Samsung Electronics Co., Ltd. Method of and device for managing applications
CN103116545B (en) * 2013-02-04 2016-01-20 青岛海信传媒网络技术有限公司 The upgrade detection method of intelligent terminal and system
CN103268239B (en) * 2013-05-15 2016-04-13 百度在线网络技术(北京)有限公司 The management method of application program, device and mobile terminal in mobile terminal
CN103617058B (en) * 2013-11-28 2017-01-25 惠州华阳通用电子有限公司 QNX-based system and method for installing and uninstalling application software
CN104199697A (en) * 2014-08-27 2014-12-10 北京金山安全软件有限公司 Pre-installed software management method and device and terminal
CN104239041B (en) * 2014-09-03 2019-04-30 北京数字天域科技有限责任公司 A kind of method and apparatus generating processing scheme and configuration
CN105867947B (en) * 2016-04-25 2019-03-26 青岛海信电器股份有限公司 Data processing method and device after preset application program updating

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103309699A (en) * 2012-03-16 2013-09-18 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and application program installation method
CN103699420A (en) * 2013-12-31 2014-04-02 海信集团有限公司 System recovery method and system recovery device
CN105278987A (en) * 2015-09-30 2016-01-27 联想(北京)有限公司 Information processing method and electronic device

Also Published As

Publication number Publication date
CN106569851A (en) 2017-04-19

Similar Documents

Publication Publication Date Title
US10127057B2 (en) Method and apparatus for dynamically implementing application function
US10871953B2 (en) Application update method and apparatus
US9569620B2 (en) Method for processing UEFI protocols and system therefor
US10599419B2 (en) Secure firmware updates using virtual machines to validate firmware packages
WO2017071207A1 (en) Application installation method, corresponding apparatus, and application installation system
CN104683409A (en) Method for sharing applications between terminals and terminal
CN106569851B (en) Application program processing method and device
US9344406B2 (en) Information processing device, information processing method, and computer program product
CN110278192B (en) Method and device for accessing intranet by extranet, computer equipment and readable storage medium
CN106548065B (en) Application program installation detection method and device
CN106682491B (en) Application downloading method and device
CN113703813A (en) Kernel upgrading method, device, equipment and computer readable storage medium
US10922064B2 (en) Method, device and user terminal for software installation
CN108958785B (en) Application program upgrading method and device
CN110597662B (en) Backup data automatic verification method and device, user equipment and storage medium
CN109818972B (en) Information security management method and device for industrial control system and electronic equipment
CN111459524A (en) Software upgrading method, device and system
CN113094064A (en) Gateway software module upgrading method, device, equipment and storage medium
CN115935321B (en) Method, device and storage medium for accessing algorithm library
WO2020233044A1 (en) Plug-in verification method and device, and server and computer-readable storage medium
CN108563953B (en) Safe and extensible trusted application development method
CN113360172B (en) Application deployment method, device, computer equipment and storage medium
CN106325898B (en) Software upgrading method and system
US20170277528A1 (en) Application installation system and method for handheld devices
CN110262813B (en) Method and apparatus for installing applications

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 Video Technology Co.,Ltd.

Address before: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218

Applicant before: HISENSE ELECTRIC Co.,Ltd.

GR01 Patent grant
GR01 Patent grant