CN106445594B - System application installation method and device and terminal equipment - Google Patents
System application installation method and device and terminal equipment Download PDFInfo
- Publication number
- CN106445594B CN106445594B CN201610847754.XA CN201610847754A CN106445594B CN 106445594 B CN106445594 B CN 106445594B CN 201610847754 A CN201610847754 A CN 201610847754A CN 106445594 B CN106445594 B CN 106445594B
- Authority
- CN
- China
- Prior art keywords
- system application
- installation
- application
- address information
- terminal
- 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.)
- Expired - Fee Related
Links
- 238000009434 installation Methods 0.000 title claims abstract description 283
- 238000000034 method Methods 0.000 title claims abstract description 31
- 230000001960 triggered effect Effects 0.000 claims abstract description 19
- 238000001514 detection method Methods 0.000 claims description 7
- 238000012545 processing Methods 0.000 claims description 7
- 238000007726 management method Methods 0.000 description 11
- 230000006870 function Effects 0.000 description 10
- 238000004891 communication Methods 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 230000005484 gravity Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000005236 sound signal Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000010079 rubber tapping Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/50—Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
- G06F21/57—Certifying or maintaining trusted computer platforms, e.g. secure boots or power-downs, version controls, system software checks, secure updates or assessing vulnerabilities
- G06F21/575—Secure boot
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Stored Programmes (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a system application installation method, a system application installation device and terminal equipment, and belongs to the technical field of terminals. The method comprises the steps of detecting whether a first system application related to downloading, storage management and network connection is installed at present or not when a system application installation instruction is triggered, obtaining an application installation information table if the first system application is installed at present, wherein the application installation information table comprises first address information, the first address information is address information of second system applications, the second system applications are system applications except the first system applications in a plurality of system applications, installing the second system applications based on the application installation information table, and deleting installation files of the second system applications when the second system applications are installed. The invention reduces the probability of the system application being acquired by the malicious user and improves the security of the terminal.
Description
Technical Field
The present invention relates to the field of terminal technologies, and in particular, to a method and an apparatus for installing a system application, and a terminal device.
Background
With the development of terminal technology, various terminals such as mobile phones, smart watches, smart televisions and the like are more and more widely applied. In order to implement some basic functions of the terminal, a plurality of system applications, such as a network connection application, an address book application, and the like, may be installed in the terminal, and the plurality of system applications are applications preset in the terminal for a manufacturer of the terminal. In the process of using the terminal, the user may need to update or reinstall the plurality of system applications, and therefore, an installation method of the system applications is urgently needed.
In the related art, the storage space of the terminal may store installation files of the plurality of system applications, and then, in the process of performing system upgrade or returning factory settings by the terminal, the terminal may reinstall the plurality of system applications based on the stored installation files of the system applications, or the terminal may reacquire a system installation package from the server, where the system installation package includes the installation files of the plurality of system applications, and the terminal may install the plurality of system applications based on the system installation package, thereby updating the plurality of system applications, and after installing the plurality of system applications, the terminal updates the installation files of the plurality of system applications stored in the storage space to the installation files of the plurality of system applications included in the installation package.
However, because the system installation package and the storage space of the terminal both include installation files of the plurality of system applications, the installation files of the system applications are easily obtained by a malicious user, when the malicious user obtains the installation files, the installation files may be tampered into malicious files, because the malicious files are tampered by the installation files of the system applications, the malicious files are difficult to identify by the user, and when the user installs or stores the malicious files in the terminal, the malicious files may steal user data, which jeopardizes information security of the user.
Disclosure of Invention
In order to solve the problems in the prior art, embodiments of the present invention provide a method and an apparatus for installing a system application, and a terminal device. The technical scheme is as follows:
in a first aspect, a method for installing a system application is provided, where the method includes:
when a system application installation instruction is triggered, detecting whether a first system application is installed at present, wherein the first system application is related to downloading, storage management and network connection;
if the first system application is currently installed, acquiring an application installation information table, wherein the application installation information table comprises first address information, the first address information is address information of second system applications, and the second system applications are system applications except the first system applications in a plurality of system applications;
installing the second system application based on the application installation information table;
and when the installation of the second system application is completed, deleting the installation file of the second system application.
Optionally, the installing the second system application based on the application installation information table includes:
decrypting the application installation information table to obtain a decrypted application installation information table;
and installing the second system application based on the decrypted application installation information table.
Optionally, the application installation information table further includes second address information, where the second address information is address information of the first system application.
Optionally, the installing the second system application based on the application installation information table includes:
downloading an installation file of the second system application based on the application installation information table;
and installing the second system application based on the downloaded installation file of the second system application.
Optionally, before downloading the installation file of the second system application based on the application installation information table, the method further includes:
downloading an installation file of the first system application based on the application installation information table;
reinstalling the first system application based on the downloaded installation file of the first system application;
and replacing the stored installation file of the first system application with the downloaded installation file of the first system application.
Optionally, the downloading the installation file of the second system application based on the application installation information table includes:
detecting whether network connection exists currently;
and if the network connection currently exists, executing a step of downloading the installation file of the second system application based on the application installation information table.
Optionally, after detecting whether the first system application is currently installed, the method further includes:
and if the first system application is not installed currently, installing the first system application based on the stored installation file of the first system application.
In a second aspect, an apparatus for installing a system application is provided, the apparatus comprising:
the system comprises a detection module, a storage module and a processing module, wherein the detection module is used for detecting whether a first system application is installed at present or not when a system application installation instruction is triggered, and the first system application is system application related to downloading, storage management and network connection;
an obtaining module, configured to obtain an application installation information table if the first system application is currently installed, where the application installation information table includes first address information, and the first address information is address information of second system applications, where the second system applications are system applications other than the first system applications in multiple system applications;
a first installation module, configured to install the second system application based on the application installation information table;
and the deleting module is used for deleting the installation file of the second system application when the installation of the second system application is finished.
Optionally, the first mounting module comprises:
the decryption submodule is used for decrypting the application installation information table to obtain a decrypted application installation information table;
and the first installation submodule is used for installing the second system application based on the decrypted application installation information table.
Optionally, the application installation information table further includes second address information, where the second address information is address information of the first system application.
Optionally, the first mounting module comprises:
the first downloading submodule is used for downloading the installation file of the second system application based on the application installation information table;
and the second installation submodule is used for installing the second system application based on the downloaded installation file of the second system application.
Optionally, the first installation module further comprises:
the second downloading submodule is used for downloading the installation file of the first system application based on the application installation information table;
the third installation submodule is used for reinstalling the first system application based on the downloaded installation file of the first system application;
and the replacing submodule is used for replacing the stored installation file of the first system application with the downloaded installation file of the first system application.
Optionally, the first download-side submodule is further configured to:
detecting whether network connection exists currently;
and if the network connection currently exists, executing a step of downloading the installation file of the second system application based on the application installation information table.
Optionally, the apparatus further comprises:
and the second installation module is used for installing the first system application based on the stored installation file of the first system application if the first system application is not installed currently.
In a third aspect, a terminal device is provided, where the terminal device includes the installation apparatus of any one of the system applications provided in the second aspect.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, when the system application installation instruction is triggered, the terminal can detect whether the first system application is installed currently, and the first system application is the system application related to downloading, storage management and network connection, so that the terminal can be ensured to download the installation file of the second system application, and the success rate of installing the system application by the terminal is improved. Secondly, if the first system application is currently installed, the terminal can acquire an application installation information table, and because the application installation information table includes second system application address information and the second system application is a system application other than the first system application in the plurality of system applications, the terminal can install the second system application based on the application information table, so that an installation file of the second system application does not need to be stored, the probability that the installation file of the second system application is acquired by a malicious user is reduced, the security of the terminal is improved, and the storage space of the terminal is saved. In addition, the terminal can delete the installation file of the second system application when the installation of the second system application is completed, so that the probability that the installation file of the second system application is obtained by a malicious user is further reduced, and the safety of the terminal is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of an installation method of a system application according to an embodiment of the present invention;
FIG. 2 is a block diagram of an installation apparatus for a system application according to an embodiment of the present invention;
fig. 3 is a block diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Fig. 1 is a flowchart of an installation method of a system application according to an embodiment of the present invention, and referring to fig. 1, the method includes:
step 101: and when the terminal executes system upgrading or factory setting restoring operation, triggering a system application installation instruction.
Because the terminal may need to perform system upgrade or factory reset operation in the running process, the operating system and the installed system application in the terminal are upgraded and updated or reinstalled, and thus, the system application installation instruction can be triggered.
The terminal can execute the system upgrading operation when receiving a system upgrading instruction, and execute the factory resetting operation when receiving a factory resetting instruction.
It should be noted that the system upgrade instruction may be used to instruct the terminal to upgrade and update an operating system and a plurality of system applications in the terminal, where the system upgrade instruction may be triggered by a user through execution of a preset operation, where the preset operation may be a click operation, a slide operation, a touch operation, or the like.
It should be further noted that the factory reset instruction may be used to instruct the terminal to reinstall the operating system and the plurality of system applications in the terminal, and the factory reset instruction may be triggered by a user through execution of a preset operation.
It should be further noted that the system application installation instruction is used to instruct the terminal to install the system application, and the system application installation instruction may also be triggered by the user by executing a preset operation.
The terminal may be a mobile phone, a tablet computer, an intelligent watch, an intelligent television, or other terminals, and certainly, in practical application, the terminal may also be other terminals capable of installing multiple system applications, which is not specifically limited in this embodiment of the present invention.
Step 102: and when a system application installation instruction is triggered, the terminal starts the operating system.
Since the terminal may need to update or reinstall the operating system, the terminal may start the operating system after updating or reinstalling the operating system.
It should be noted that, if the terminal does not update or reinstall the operating system, when the system application installation instruction is triggered, step 102 may not be executed, that is, the operating system is not restarted, so that step 103 is directly executed.
Step 103: when the starting of the operating system is completed, the terminal installs a first system application, wherein the first system application is a system application related to downloading, storage management and network connection.
Since a terminal may need to reinstall a plurality of system applications in the terminal, when the terminal installs a system application, an installation file of the system application may need to be downloaded through a network, and thus, when the terminal receives the system application installation instruction, a first system application related to downloading, storage management, and network connection may be installed.
Wherein, the terminal can install the first system application based on the stored installation file of the first system application.
It should be noted that, the terminal may download and store the installation file of the first system application before installing the first system application, for example, a policy that may be implemented is that the terminal receives and stores the installation file of the first system application when the terminal leaves a factory, and of course, in an actual application, the terminal may also download the installation file of the first system application by using other manners, which is not specifically limited in the embodiment of the present invention.
It should be noted that, in order to reduce the probability that the installation file of the first system application is obtained by a malicious user, and further ensure the security of the terminal, the terminal may encrypt the installation file of the first system application.
It should be further noted that, in the terminal, one or more system applications related to downloading, storage management, and network connection may be provided, and therefore, the number of the first system applications may also be one or more, which is not specifically limited in this embodiment of the present invention.
Further, in order to improve the efficiency of installing the system application by the terminal, the terminal may detect whether the first system application is currently installed before performing the operation of step 103, perform the operation of step 103 if the first system application is not currently installed, and perform the operation of step 104 if the first system application is currently installed.
It should be noted that, since the terminal may need to be installed through other system applications when installing the system application, the first system application may further include a system application related to installation.
Step 104: the terminal prompts the user to make a network connection.
Since the terminal has the first system application installed, the terminal may prompt the user to make a network connection to access the terminal to the network.
The terminal may display the network connection prompting information to prompt the user to access the terminal to the network, and certainly, the terminal may prompt the user to perform network connection in other manners, which is not specifically limited in the embodiment of the present invention.
It should be noted that the terminal may display the network connection prompting information in a window or pop-up window manner, and certainly, in practical applications, the terminal may also display the network connection prompting information in other manners, which is not specifically limited in this embodiment of the present invention.
It should be further noted that the network connection may be WiFi (Wireless-Fidelity), bluetooth, or the like, and of course, in practical applications, the network connection is also another type of network connection, which is not specifically limited in this embodiment of the present invention.
Further, the terminal may detect whether a network connection currently exists before performing the operation of step 104, perform the operation of step 104 if the network connection currently does not exist, and perform the operation of step 105 if the network connection currently exists.
Further, if a network connection currently exists, the terminal may detect whether the current network connection is valid or whether the current network connection is a specific network connection, and if so, perform the operation of step 105, and if not, perform the operation of step 104.
The specific network connection may be determined by the terminal before detecting whether the network connection is a specific network connection, for example, the specific network connection may be WiFi.
Step 105: the terminal acquires an application installation information table, wherein the application installation information table comprises first address information, the first address information is respectively download address information of second system applications, and the second system applications are system applications except the first system applications in the multiple system applications.
Since the terminal is currently installed with the first system application and there is a network connection, the terminal may acquire an application installation information table including download address information of the second system application through the first system application in order to install other system applications.
It should be noted that, since a plurality of system applications may be installed in the terminal, in order to ensure that the terminal can install all the system applications except the first system application, the application installation information table may include a plurality of first address information, and each first address information may correspond to one second system application.
The terminal may obtain the application installation information table through the following two possible implementation manners:
in a first possible implementation manner, when the terminal installs a system application, it may not need to install a certain system application, or need to install a system application that has not been installed before the terminal, that is, the number of download address information in the application installation information table may be increased or decreased, and for the same system application, the download address information of the system application may also be changed, so as to ensure the accuracy of obtaining the application installation information table, and further improve the accuracy of installing the system application at the terminal, the terminal may send an information table acquisition request to a server, where the request carries a terminal identifier, and when the server receives the information table acquisition request, the server sends the application installation information table to the terminal based on the terminal identifier.
Wherein the server may be a server of a manufacturer of the terminal.
It should be noted that the terminal identifier is used to uniquely identify the terminal, and the terminal identifier may be an IMEI (International Mobile Equipment Identity) of the terminal, a factory serial number, or the like.
Further, since different terminals may need to install different system applications, in order to further improve the accuracy of acquiring the application installation information table and the accuracy of installing the system applications, when the server receives the information table acquisition request, the server acquires the application installation information table corresponding to the terminal identifier based on the terminal identifier, and sends the acquired application installation information table to the terminal.
For example, one possible implementation strategy is that the server receives and stores a plurality of terminal identifiers and an application installation information table corresponding to each terminal identifier input by a relevant technician, and of course, the server may also obtain the plurality of terminal identifiers and the application installation information table corresponding to each terminal identifier by other means, which is not specifically limited in the embodiment of the present invention.
For example, the terminal sends an information table acquisition request to the server, the information table acquisition request carries a terminal identifier of terminal 1, when the server receives the information table acquisition request, based on terminal 1, application installation information table 1 corresponding to terminal 1 is acquired, and the server sends application installation information table 1 to the terminal.
Further, in order to improve the accuracy of acquiring the application installation information table, the information table request may further carry terminal configuration information, and accordingly, when the server receives the information table acquisition request, the server acquires the application installation information table corresponding to the terminal identifier and the terminal configuration information based on the terminal identifier and the terminal configuration information, and sends the acquired application installation information table to the terminal.
The terminal configuration information is used to describe the current configuration of the terminal, and the terminal configuration information may include version information of an operating system installed in the terminal, resolution of a display screen, and the like.
It should be noted that the application installation information table may further include other information, for example, an identifier of each second system application in the second system applications, which is not specifically limited in this embodiment of the present invention.
It should be further noted that the system application identifier is used to uniquely identify one system application, and the system application identifier may be a name of the system application, and certainly, in an actual application, the system application identifier may also be another identifier capable of uniquely identifying the system application, which is not specifically limited in this embodiment of the present invention.
Further, in order to improve the security of the application installation information table and further improve the security of the terminal, the server may encrypt the application installation information table before transmitting the application installation information table to the terminal.
In a second possible implementation manner, in order to improve the efficiency of obtaining the application installation information table and further improve the efficiency of installing the system application by the terminal, the terminal obtains the application installation information table from the local storage.
For example, one possible implementation policy is that the terminal receives and stores the application installation information table input by a relevant technician when the terminal leaves a factory, and certainly, in an actual application, the terminal may also obtain the application installation information table in other manners, which is not specifically limited in the embodiment of the present invention.
Further, in a second possible implementation manner, in order to ensure the accuracy of obtaining the application installation information table, the server may send the application installation information table to the terminal when updating the application installation information table corresponding to the terminal.
The server may obtain and store a plurality of terminal identifiers and an application installation information table corresponding to each terminal identifier before updating the application installation information table corresponding to the terminal, and then update the stored application installation information table when the server receives an update instruction.
It should be noted that the update instruction is used to instruct the server to update the stored application installation information table, and the update instruction may be triggered by executing a specific operation, where the specific operation may be a click operation, a slide operation, a touch operation, and the like.
Further, when the terminal receives the application installation information table sent by the server, update prompt information may be displayed, where the update prompt information is used to prompt to update the system application installed on the terminal, and when the terminal receives the preset operation based on the update prompt information, the system application installation instruction may be triggered, so as to execute the system application installation method provided in this embodiment, and install the system application in the terminal.
It should be further noted that the terminal may encrypt the application installation information table, and the terminal may solidify the manner of encrypting the application installation information table in the operating system of the terminal.
It should be further noted that, because the system application installation information table is stored in the storage space of the terminal, when the system is upgraded and factory settings are restored, the terminal can download the system application installation file from the server according to the application installation information table, and further the system application installation file does not need to be stored in the terminal, thereby reducing the probability that the installation file of the second system application is obtained for a malicious user, improving the security of the terminal, and saving the storage space of the terminal.
Further, in a second possible implementation manner, since the terminal acquires the application installation information table from the local storage, the terminal may first perform the operation of acquiring the application installation information table in step 105, then perform the operation of prompting the user to perform network connection in step 104, and when a network connection currently exists, perform the operation of installing the installation file of the second system application based on the application installation information table in step 106.
Further, since the terminal may need to reinstall the first system application, the application installation information table further includes second address information, and the second address information is download address information of the first system application respectively.
As can be seen from the foregoing, the terminal may include a plurality of first system applications, and therefore, the application installation information table may also include a plurality of second address information, and each second address information may correspond to one first system application.
It should be noted that, because the application installation information table further includes the download address information of the first system application, that is, the application installation information table includes the download address information of the plurality of system applications in the terminal, the server may update the application installation information table, and then update the plurality of system applications installed in the terminal, so that the flexibility of managing the plurality of system applications installed in the terminal by the server is improved.
Step 106: the terminal installs the second system application based on the application installation information table.
Since the application installation information table includes the address information of the second system application, the terminal can install the second system application based on the application installation information table.
In order to install the second system application without storing the installation file of the second system application, so that the probability that the installation file of the second system application is obtained by a malicious user is reduced, and the security of the terminal is improved, the terminal can download the installation file of the second system application based on the application installation information table, and install the second system application based on the downloaded installation file of the second system application.
For example, the terminal acquires an application installation information table 1, where the application installation information table 1 includes address information 1, address information 2, and address information 3, the terminal downloads an installation file of the system application 1 according to the address information 1, the terminal downloads an installation file of the system application 2 according to the address information 2, the terminal downloads an installation file of the system application 3 according to the address information 3, installs the system application 1 according to the downloaded installation file of the system application 1, installs the system application 2 according to the downloaded installation file of the system application 2, and installs the system application 3 according to the downloaded installation file of the system application 3.
Further, in order to update the first system application currently installed by the terminal, and further ensure that the second system application is downloaded and installed, and ensure the success rate of installing the system application by the terminal, the terminal may download the installation file of the first system application based on the application installation information table before downloading the installation file of the second system application based on the application installation information table, reinstall the first system application based on the downloaded installation file of the first system application, and replace the stored installation file of the first system application with the downloaded installation file of the first system application.
Further, as can be seen from the foregoing, the server or the terminal may encrypt the application installation information table, and therefore, the terminal may decrypt the application installation information table to obtain a decrypted application installation information table, and install the second system application based on the decrypted application installation information table.
Step 107: and when the installation of the second system application is completed, the terminal deletes the installation file of the second system application.
Since the second system application is already installed in the terminal, the terminal may delete the installation file of the second system application in order to reduce the probability that the installation file of the second system application is obtained by a malicious user, thereby improving the security of the terminal.
It should be noted that, when deleting the installation file of the second system application, the terminal may delete the installation file of the second system application when each second system application is installed, or delete the installation file of the second system application when each second system application is installed, which is not specifically limited in the embodiment of the present invention.
In the embodiment of the invention, firstly, when a system application installation instruction is triggered, the terminal can detect whether the first system application is installed currently, and the first system application is the system application related to downloading, storage management and network connection, so that the terminal can be ensured to download the installation file of the second system application, and the success rate of installing the system application by the terminal is improved. Secondly, if the first system application is currently installed, the terminal can acquire an application installation information table, and because the application installation information table includes second system application address information and the second system application is a system application other than the first system application in the plurality of system applications, the terminal can install the second system application based on the application information table, so that an installation file of the second system application does not need to be stored, the probability that the installation file of the second system application is acquired by a malicious user is reduced, the security of the terminal is improved, and the storage space of the terminal is saved. In addition, the terminal can delete the installation file of the second system application when the installation of the second system application is completed, so that the probability that the installation file of the second system application is obtained by a malicious user is further reduced, and the safety of the terminal is improved.
The server does not need to send the installation files of the system applications to the terminal in the form of the system upgrade package, namely the terminal can install the system applications in the terminal without depending on the system upgrade package, so that the flexibility of installing the system applications of the terminal is improved, the size of the system upgrade package is reduced, and the efficiency of obtaining the system upgrade package by the terminal is improved.
The terminal can encrypt the application installation information table and decrypt the application installation information table when the installation file of the system application is required to be downloaded according to the application installation information table, so that the probability of obtaining the system application in the terminal for a malicious user is further reduced, and the safety of the terminal is improved.
Fig. 2 is a block diagram of an installation apparatus for a system application according to an embodiment of the present invention, and referring to fig. 2, the apparatus includes:
a detecting module 201, configured to detect whether a first system application is currently installed when a system application installation instruction is triggered, where the first system application is a system application related to downloading, storage management, and network connection;
an obtaining module 202, configured to obtain an application installation information table if the first system application is currently installed, where the application installation information table includes first address information, and the first address information is address information of second system applications, where the second system applications are system applications other than the first system application, in the multiple system applications;
a first installation module 203, configured to install the second system application based on the application installation information table;
a deleting module 204, configured to delete the installation file of the second system application when the installation of the second system application is completed.
Optionally, the first installation module 203 comprises:
the decryption submodule is used for decrypting the application installation information table to obtain a decrypted application installation information table;
and the first installation submodule is used for installing the second system application based on the decrypted application installation information table.
Optionally, the application installation information table further includes second address information, where the second address information is address information of the first system application.
Optionally, the first installation module 203 comprises:
the first downloading submodule is used for downloading the installation file of the second system application based on the application installation information table;
and the second installation submodule is used for installing the second system application based on the downloaded installation file of the second system application.
Optionally, the first installation module 203 further includes:
the second downloading submodule is used for downloading the installation file of the first system application based on the application installation information table;
the third installation submodule is used for reinstalling the first system application based on the downloaded installation file of the first system application;
and the replacing submodule is used for replacing the stored installation file of the first system application with the downloaded first system application.
Optionally, the first download-sub module is further configured to:
detecting whether network connection exists currently;
and if the network connection currently exists, executing the step of downloading the installation file of the second system application based on the application installation information table.
Optionally, the apparatus further comprises:
and the second installation module is used for installing the first system application based on the stored installation file of the first system application if the first system application is not installed currently.
In the embodiment of the invention, when the system application installation instruction is triggered, the terminal can detect whether the first system application is installed currently, and the first system application is the system application related to downloading, storage management and network connection, so that the terminal can be ensured to download the installation file of the second system application, and the success rate of installing the system application by the terminal is improved. Secondly, if the first system application is currently installed, the terminal can acquire an application installation information table, and because the application installation information table includes second system application address information and the second system application is a system application other than the first system application in the plurality of system applications, the terminal can install the second system application based on the application information table, so that an installation file of the second system application does not need to be stored, the probability that the installation file of the second system application is acquired by a malicious user is reduced, the security of the terminal is improved, and the storage space of the terminal is saved. In addition, the terminal can delete the installation file of the second system application when the installation of the second system application is completed, so that the probability that the installation file of the second system application is obtained by a malicious user is further reduced, and the safety of the terminal is improved.
Fig. 3 is a block diagram of a terminal device provided in this embodiment, where the terminal device may be used to execute the installation method of the system application provided in each of the above embodiments. Referring to fig. 3, the terminal device 300 includes:
the terminal device 300 may include RF (Radio Frequency) circuitry 310, a memory 320 including one or more computer-readable storage media, an input unit 330, a display unit 340, a sensor 350, audio circuitry 360, a WiFi (Wireless Fidelity) module 370, a processor 380 including one or more processing cores, and a power supply 390. Those skilled in the art will appreciate that the terminal device configuration shown in fig. 3 does not constitute a limitation of the terminal device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
the RF circuit 310 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, for receiving downlink information of a base station and then processing the received downlink information by one or more processors 380; in addition, data relating to uplink is transmitted to the base station. In general, RF circuitry 310 includes, but is not limited to, an antenna, at least one Amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, an LNA (Low Noise Amplifier), a duplexer, and the like. In addition, RF circuit 310 may also communicate with networks and other devices via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), e-mail, SMS (short messaging Service), etc.
The memory 320 may be used to store software programs and modules, and the processor 380 executes various functional applications and data processing by operating the software programs and modules stored in the memory 320. The memory 320 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the terminal device 300, and the like. Further, the memory 320 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 320 may also include a memory controller to provide the processor 380 and the input unit 330 with access to the memory 320.
The input unit 330 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 330 may include a touch-sensitive surface 331 as well as other input devices 332. The touch-sensitive surface 331, also referred to as a touch screen or touch pad, may collect touch operations by a user on or near the touch-sensitive surface 331 (e.g., operations by a user on or near the touch-sensitive surface 331 using a finger, a stylus, or any other suitable object or attachment), and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface 331 may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 380, and can receive and execute commands sent by the processor 380. In addition, the touch-sensitive surface 331 may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. The input unit 330 may comprise other input devices 332 in addition to the touch sensitive surface 331. In particular, other input devices 332 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 340 may be used to display information input by or provided to the user and various graphic user interfaces of the terminal apparatus 300, which may be configured by graphics, text, icons, video, and any combination thereof. The Display unit 340 may include a Display panel 341, and optionally, the Display panel 341 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, touch-sensitive surface 331 may overlay display panel 341, and when touch-sensitive surface 331 detects a touch operation thereon or thereabout, communicate to processor 380 to determine the type of touch event, and processor 380 then provides a corresponding visual output on display panel 341 in accordance with the type of touch event. Although in FIG. 3, touch-sensitive surface 331 and display panel 341 are implemented as two separate components for input and output functions, in some embodiments, touch-sensitive surface 331 and display panel 341 may be integrated for input and output functions.
The terminal device 300 may also include at least one sensor 350, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 341 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 341 and/or the backlight when the terminal device 300 is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured in the terminal device 300, detailed descriptions thereof are omitted.
WiFi belongs to short-distance wireless transmission technology, and the terminal device 300 can help the user send and receive e-mails, browse web pages, access streaming media and the like through the WiFi module 370, and it provides wireless broadband internet access for the user. Although fig. 3 shows the WiFi module 370, it is understood that it does not belong to the essential constitution of the terminal device 300, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 380 is a control center of the terminal device 300, connects various parts of the whole terminal device by using various interfaces and lines, and performs various functions of the terminal device 300 and processes data by running or executing software programs and/or modules stored in the memory 320 and calling data stored in the memory 320, thereby performing overall monitoring of the mobile phone. Optionally, processor 380 may include one or more processing cores; preferably, the processor 380 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 380.
The terminal device 300 further includes a power supply 390 (e.g., a battery) for supplying power to the various components, which may preferably be logically connected to the processor 380 via a power management system, so as to manage charging, discharging, and power consumption via the power management system. The power supply 390 may also include any component including one or more of a dc or ac power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the terminal device 300 may further include a camera, a bluetooth module, and the like, which will not be described herein. Specifically, in this embodiment, the display unit of the terminal device is a touch screen display, and the terminal device further includes a memory and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the one or more processors. The one or more programs include instructions for performing the unread information display method provided in any of the above embodiments.
It should be noted that the terminal device provided in the foregoing embodiment may include the system application installation apparatus in the foregoing embodiment, and the terminal device provided in the foregoing embodiment and the system application installation apparatus and system application installation method embodiment in the foregoing embodiment belong to the same concept, and specific implementation processes thereof are detailed in the method embodiment and are not described herein again.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.
Claims (11)
1. A method of installing a system application, the method comprising:
when a system application installation instruction is triggered, detecting whether a first system application is currently installed, wherein the first system application is a system application related to downloading, storage management and network connection, and the system application installation instruction is triggered by system upgrading operation or factory setting restoration operation;
if the first system application is currently installed, acquiring an application installation information table, wherein the application installation information table comprises first address information and second address information, the first address information is address information of a second system application, the second address information is address information of the first system application, the second address information is used for updating the first system application, and the second system application is a system application except the first system application in a plurality of system applications;
installing the second system application based on the first address information;
and when the installation of the second system application is completed, deleting the installation file of the second system application.
2. The method of claim 1, wherein said installing the second system application based on the first address information comprises:
decrypting the application installation information table to obtain a decrypted application installation information table;
and installing the second system application based on the first address information in the decrypted application installation information table.
3. The method of claim 1 or 2, wherein said installing the second system application based on the first address information comprises:
downloading an installation file of the second system application based on the first address information;
and installing the second system application based on the downloaded installation file of the second system application.
4. The method of claim 3, wherein before downloading the installation file for the second system application based on the first address information, further comprising:
downloading an installation file of the first system application based on the second address information;
reinstalling the first system application based on the downloaded installation file of the first system application;
and replacing the stored installation file of the first system application with the downloaded installation file of the first system application.
5. The method of claim 3, wherein downloading the installation file of the second system application based on the first address information comprises:
detecting whether network connection exists currently;
and if the network connection currently exists, executing the step of downloading the installation file of the second system application based on the first address information.
6. The method of claim 1, wherein after detecting whether the first system application is currently installed, further comprising:
and if the first system application is not installed currently, installing the first system application based on the stored installation file of the first system application.
7. An apparatus for installing a system application, the apparatus comprising:
the system comprises a detection module, a storage module and a processing module, wherein the detection module is used for detecting whether a first system application is installed at present or not when a system application installation instruction is triggered, the first system application is a system application related to downloading, storage management and network connection, and the system application installation instruction is triggered by system upgrading operation or factory setting restoration operation;
an obtaining module, configured to obtain an application installation information table if the first system application is currently installed, where the application installation information table includes first address information and second address information, the first address information is address information of a second system application, the second address information is address information of the first system application, the second address information is used to update the first system application, and the second system application is a system application other than the first system application in multiple system applications;
a first installation module, configured to install the second system application based on the first address information;
and the deleting module is used for deleting the installation file of the second system application when the installation of the second system application is finished.
8. The apparatus of claim 7, wherein the first mounting module comprises:
the decryption submodule is used for decrypting the application installation information table to obtain a decrypted application installation information table;
and the first installation submodule is used for installing the second system application based on the first address information in the decrypted application installation information table.
9. The apparatus of claim 7 or 8, wherein the first mounting module comprises:
the first downloading submodule is used for downloading the installation file of the second system application based on the first address information;
and the second installation submodule is used for installing the second system application based on the downloaded installation file of the second system application.
10. The apparatus of claim 9, wherein the first download-sub module is further to:
detecting whether network connection exists currently;
and if the network connection currently exists, executing the step of downloading the installation file of the second system application based on the first address information.
11. A terminal device, characterized in that it comprises a mounting device for a system application according to any one of claims 7 to 10.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610847754.XA CN106445594B (en) | 2016-09-23 | 2016-09-23 | System application installation method and device and terminal equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610847754.XA CN106445594B (en) | 2016-09-23 | 2016-09-23 | System application installation method and device and terminal equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106445594A CN106445594A (en) | 2017-02-22 |
CN106445594B true CN106445594B (en) | 2020-08-28 |
Family
ID=58166172
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610847754.XA Expired - Fee Related CN106445594B (en) | 2016-09-23 | 2016-09-23 | System application installation method and device and terminal equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106445594B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110262813B (en) * | 2019-06-25 | 2020-11-17 | 上海连尚网络科技有限公司 | Method and apparatus for installing applications |
CN118779041A (en) * | 2023-04-03 | 2024-10-15 | 荣耀终端有限公司 | Application identifier display method, electronic device and readable storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5960204A (en) * | 1996-10-28 | 1999-09-28 | J.D. Edwards World Source Company | System and method for installing applications on a computer on an as needed basis |
CN104679534A (en) * | 2013-11-28 | 2015-06-03 | 中兴通讯股份有限公司 | System application installation package loading processing method, device and terminal |
CN104765629A (en) * | 2015-03-24 | 2015-07-08 | 广东欧珀移动通信有限公司 | System application installation method and device |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102103510A (en) * | 2011-02-10 | 2011-06-22 | 惠州Tcl移动通信有限公司 | Installation method of JAVA application program and terminal device |
CN102946599B (en) * | 2012-11-08 | 2016-08-17 | 惠州Tcl移动通信有限公司 | Realize method and mobile terminal that application program for mobile terminal is downloaded |
-
2016
- 2016-09-23 CN CN201610847754.XA patent/CN106445594B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5960204A (en) * | 1996-10-28 | 1999-09-28 | J.D. Edwards World Source Company | System and method for installing applications on a computer on an as needed basis |
CN104679534A (en) * | 2013-11-28 | 2015-06-03 | 中兴通讯股份有限公司 | System application installation package loading processing method, device and terminal |
CN104765629A (en) * | 2015-03-24 | 2015-07-08 | 广东欧珀移动通信有限公司 | System application installation method and device |
Also Published As
Publication number | Publication date |
---|---|
CN106445594A (en) | 2017-02-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108235754B (en) | Method and device for prompting user to update application version | |
EP3553663B1 (en) | Message reminding method for terminal, and terminal | |
CN103473163B (en) | application program detection method and device | |
WO2019037724A1 (en) | Method for upgrading application of mobile terminal, storage device, and mobile terminal | |
CN106775827B (en) | Application program updating method and device and computer equipment | |
CN104765591A (en) | Method and system for updating software configuration parameter, and terminal server | |
CN103455343A (en) | Method and device for updating application programs | |
CN107967153B (en) | Application program management method and mobile terminal | |
CN107656754B (en) | Method for restoring set parameters and user equipment thereof | |
CN106713608B (en) | Application function state modification method and device and terminal | |
CN108090345B (en) | Linux system external command execution method and device | |
CN106953898B (en) | Method and device for acquiring software package | |
CN105320882A (en) | Method and device for controlling permission of application programs | |
CN106919458B (en) | Method and device for Hook target kernel function | |
US20220255639A1 (en) | Radio frequency parameter processing method and device, and mobile terminal and storage medium | |
EP2869604B1 (en) | Method, apparatus and device for processing a mobile terminal resource | |
CN106506815A (en) | A kind of application enables method and relevant device | |
CN106095423B (en) | Method, terminal and server for providing browsing service | |
JP2016502196A (en) | Application installation method, application installation apparatus, facility, program, and recording medium | |
EP2869233B1 (en) | Method, device and terminal for protecting application program | |
CN106445594B (en) | System application installation method and device and terminal equipment | |
CN106528231B (en) | A kind of method and apparatus starting application program | |
CN107463395B (en) | Component calling method and device | |
CN106850957B (en) | Application notification management method and device and mobile terminal | |
CN111966373A (en) | APN resetting method, terminal equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200828 |
|
CF01 | Termination of patent right due to non-payment of annual fee |