CN107436782B - Application silent installation method and device - Google Patents

Application silent installation method and device Download PDF

Info

Publication number
CN107436782B
CN107436782B CN201710534942.1A CN201710534942A CN107436782B CN 107436782 B CN107436782 B CN 107436782B CN 201710534942 A CN201710534942 A CN 201710534942A CN 107436782 B CN107436782 B CN 107436782B
Authority
CN
China
Prior art keywords
download
application program
application
silent installation
storage path
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
CN201710534942.1A
Other languages
Chinese (zh)
Other versions
CN107436782A (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201710534942.1A priority Critical patent/CN107436782B/en
Publication of CN107436782A publication Critical patent/CN107436782A/en
Application granted granted Critical
Publication of CN107436782B publication Critical patent/CN107436782B/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/61Installation

Abstract

The disclosure relates to a silent installation method and a device for an application program, wherein the method comprises the following steps: setting a silent installation download storage path of an application program, and endowing the read-write permission of the silent installation download storage path to a download manager and a package management service; sending a downloading request to a downloading manager, wherein the downloading request is used for downloading a corresponding application program according to the downloading request and storing the application program to the silent installation downloading storage path after being received by the downloading manager; and calling a package management service to install the application program stored in the silent installation download storage path. The method and the device can effectively prevent malicious software from being installed, improve the safety of silent installation, save processing time and user equipment resources, and can install the target application program in time, thereby providing convenience for users to use.

Description

Application silent installation method and device
Technical Field
The present disclosure relates to the field of intelligent communications technologies, and in particular, to a silent installation method and apparatus for an application program.
Background
At present, an android mobile phone has a silent installation function, silent installation refers to that a user does not need any intervention when an application program is installed, after a download manager is requested to download an application program installation file into the mobile phone, a storage path of the installation file is automatically sent to a Package Management Service (PMS), the package management service is directly installed according to default settings, and for users without special requirements, the silent installation function can save a large amount of time. Although silent installation provides convenience for users, the download path of the installation file is easily monitored by malicious software, and the target installation file is replaced by the same-name file before PMS installation, so that the aim of installing illegal programs is fulfilled.
For the above malicious installation event, in the related art, after the program is installed, it is usually checked whether the attribute information of the installed application program matches with the predetermined information, and if not, the application program just installed is deleted.
Disclosure of Invention
The embodiment of the disclosure provides a silent installation method and device for an application program. The technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a silent installation method for an application program, including:
setting a silent installation download storage path of an application program, and endowing the read-write permission of the silent installation download storage path to a download manager and a package management service;
sending a downloading request to a downloading manager, wherein the downloading request is used for downloading a corresponding application program according to the downloading request and storing the application program to the silent installation downloading storage path after being received by the downloading manager;
and calling a package management service to install the application program stored in the silent installation download storage path.
Optionally, the download request includes: application attribute information and silent installation download storage path information.
Optionally, the application attribute information includes: one or more of application name, application size, application version, download path information.
Optionally, the invoking the package management service to install the application program stored in the silent installation download storage path includes:
sequencing the application programs stored in the silent installation and download storage path according to a preset reference element to obtain a sequencing result;
and installing the application programs according to the sequencing result sequence.
Optionally, the preset reference element includes at least one of the following elements:
the size of the application;
relevant use data of the application program in a historical preset time period;
downloading amount of the application program in a historical preset time period;
and (4) good evaluation rate of the application program in a historical preset time period.
According to a second aspect of the embodiments of the present disclosure, there is provided an application silent installation apparatus, including:
the device comprises a setting module, a download manager and a package management service, wherein the setting module is configured to set a silent installation download storage path of an application program and endow the read-write authority of the silent installation download storage path to the download manager and the package management service;
the sending module is configured to send a downloading request to a downloading manager, and the downloading request is used for downloading a corresponding application program according to the downloading request and storing the application program to the silent installation downloading storage path after being received by the downloading manager;
and the installation module is configured to call a package management service to install the application program stored in the silent installation download storage path.
Optionally, the download request includes: application attribute information and silent installation download storage path information.
Optionally, the application attribute information includes: one or more of application name, application size, application version, download path information.
Optionally, the installation module comprises:
the sequencing submodule is configured to sequence the application programs stored in the silent installation download storage path according to a preset reference element to obtain a sequencing result;
and the installation submodule is configured to install the application programs according to the sequencing result sequence.
Optionally, the preset reference element includes at least one of the following elements:
the size of the application;
relevant use data of the application program in a historical preset time period;
downloading amount of the application program in a historical preset time period;
and (4) good evaluation rate of the application program in a historical preset time period.
According to a third aspect of the embodiments of the present disclosure, there is provided an application silent installation apparatus, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
setting a silent installation download storage path of an application program, and endowing the read-write permission of the silent installation download storage path to a download manager and a package management service;
sending a downloading request to a downloading manager, wherein the downloading request is used for downloading a corresponding application program according to the downloading request and storing the application program to the silent installation downloading storage path after being received by the downloading manager;
and calling a package management service to install the application program stored in the silent installation download storage path.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
in the technical scheme, an application program silent installation download storage path is set, the read-write permission of the silent installation download storage path is only given to a download manager and a package management service, then a download request is sent to the download manager, the download manager downloads the corresponding application program according to the download request and stores the application program to the silent installation download storage path, and finally the package management service is called to install the application program stored in the silent installation download storage path. Through the setting and the directional distribution of the read-write permission of the download storage path, the installation of malicious software can be effectively prevented, the safety of silent installation is improved, the processing time and user equipment resources are saved, a target application program can be installed in time, and convenience is brought to the use of a user.
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 the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flow diagram illustrating a silent installation method of an application according to an example embodiment.
Fig. 2 is a flowchart illustrating step S103 of the silent installation method of an application according to an exemplary embodiment.
Fig. 3 is a block diagram illustrating an application silent installation apparatus according to an example embodiment.
Fig. 4 is a block diagram illustrating silent installation of an application by the silent installation of an application apparatus according to an example embodiment.
Fig. 5 is a block diagram illustrating a silent installation apparatus for an application according to an exemplary embodiment.
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 exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
In the technical scheme provided by the embodiment of the disclosure, an application silent installation download storage path is set, the read-write permission of the silent installation download storage path is only given to a download manager and a package management service, then a download request is sent to the download manager, the download manager downloads a corresponding application program according to the download request and stores the application program to the silent installation download storage path, and finally the package management service is called to install the application program stored in the silent installation download storage path. Through the setting and the directional distribution of the read-write permission of the download storage path, the installation of malicious software can be effectively prevented, the safety of silent installation is improved, the processing time and user equipment resources are saved, a target application program can be installed in time, and convenience is brought to the use of a user.
Fig. 1 is a flowchart illustrating a silent installation method of an application according to an exemplary embodiment, as shown in fig. 1, the method includes the following steps S101-S103:
in step S101, setting a silent installation download storage path of an application program, and giving a read-write permission of the silent installation download storage path to a download manager and a package management service;
in step S102, a download request is sent to a download manager, where the download request is used to download a corresponding application program according to the download request and store the corresponding application program to the silent installation download storage path after being received by the download manager;
in step S103, a package management service is invoked to install the application program stored in the silent installation download path.
According to the embodiment of the disclosure, the application program silent installation download storage path is set, the read-write permission of the silent installation download storage path is only given to the download manager and the package management service, then the download request is sent to the download manager, the download manager downloads the corresponding application program according to the download request and stores the corresponding application program to the silent installation download storage path, and finally the package management service is called to install the application program stored in the silent installation download storage path, so that the setting and the directional distribution of the read-write permission of the download storage path are realized, the installation of malicious software is effectively prevented, the safety of silent installation is improved, the processing time and user equipment resources are saved, the target application program is installed in time, and a convenient technical effect is provided for the use of a user.
In one possible implementation, the download request includes: application attribute information and silent installation download storage path information.
In another possible implementation, the application attribute information includes: one or more of application name, application size, application version, download path information.
In the embodiment of the present disclosure, the download request including the application attribute information and the silent installation download storage path information is sent to the download manager, so that the download manager can download the corresponding application according to the download request. Wherein the application attribute information includes: one or more of application name, application size, application version, and download path information, it should be understood by those skilled in the art that the above application attribute information is only an example, and all available application attribute information falls within the scope of the present disclosure.
In one possible implementation, as shown in fig. 2, the step S103 may be completed by the following steps S201 to S202:
in step S201, sorting the application programs stored in the silent installation download storage path according to a preset reference element, and obtaining a sorting result;
in step S202, the applications are installed in order according to the sorting result.
According to the embodiment of the disclosure, the application programs stored in the silent installation download storage path can be sequenced according to the preset reference elements, and then the application programs are sequentially installed according to the sequencing result, so that the technical effects of fully utilizing user equipment resources, effectively and quickly installing the application programs and saving time for users are achieved.
In a possible embodiment, the preset reference element comprises at least one of the following elements: the size of the application; relevant use data of the application program in a historical preset time period; downloading amount of the application program in a historical preset time period; and (4) good evaluation rate of the application program in a historical preset time period.
In another possible embodiment, the step S201 may be completed by:
calculating a weight value of the application program according to the preset reference element;
and sequencing the application programs according to the weight values to obtain a sequencing result.
In the foregoing embodiment of the present disclosure, reference elements such as the size of an application, related usage data of the application in a historical preset time period, a download amount of the application in the historical preset time period, and/or a good rating of the application in the historical preset time period may be considered to perform priority ranking on the application, specifically, a weight value of the application is first calculated according to the preset reference elements, and then the application is ranked according to the weight value, so as to obtain a ranking result, where for the related usage data of the application in the historical preset time period, if the downloading of the application is an update type downloading, the related usage data of the application in the historical preset time period may be usage data of the application, and if the downloading of the application is a full-new type downloading, the related usage data of the application in the historical preset time period may be usage data of the application related to the application The data is used. And then realize the intelligence and install the application program, save user's time, provide convenient technological effect for user's use.
For example, the larger the application program is, the more time is considered to be consumed, the smaller the weight value of the application program is, and conversely, the larger the weight value is; the higher the relevant use data volume of the application program in the historical preset time period is, the more frequent the application program is considered to be used, the larger the weight value of the application program is, otherwise, the smaller the weight value is; the higher the download amount and/or the goodness of the application in the historical preset time period is, the more important the application is for the needs of the user, the larger the weight value of the application is, and conversely, the smaller the weight value is.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods.
Fig. 3 is a block diagram illustrating an application silent installation apparatus, which may be implemented as part or all of an electronic device through software, hardware, or a combination of both, according to an example embodiment. As shown in fig. 3, the apparatus includes a setting module 301, a sending module 302, and an installation module 303, wherein:
a setting module 301 configured to set a silent installation download storage path of an application program, and endow a download manager and a package management service with read-write permission of the silent installation download storage path;
a sending module 302, configured to send a download request to a download manager, where the download request is used to download a corresponding application program according to the download request and store the corresponding application program to the silent installation download storage path after being received by the download manager;
an installation module 303 configured to invoke a package management service to install the application program stored in the silent installation download path.
The silent installation device for application programs provided by the embodiment of the present disclosure sets a silent installation download storage path for application programs by configuring the setting module 301, the sending module 302 and the installation module 303, and only gives the read/write permission of the silent installation download storage path to the download manager and the package management service, then sending a download request to a download manager, enabling the download manager to download a corresponding application program according to the download request and store the corresponding application program in a silent installation download storage path, finally calling a package management service to install the application program stored in the silent installation download storage path, the method can receive the setting and directional distribution of the read-write permission of the download storage path, effectively prevent the installation of malicious software, improve the safety of silent installation, save the processing time and user equipment resources, install the target application program in time and provide convenient technical effects for the use of users.
In one possible implementation, the download request includes: application attribute information and silent installation download storage path information.
In another possible implementation, the application attribute information includes: one or more of application name, application size, application version, download path information.
The silent installation device for the application program, provided by the embodiment of the disclosure, sends the download request including the attribute information of the application program and the silent installation download storage path information to the download manager, so that the download manager can download the corresponding application program according to the download request. Wherein the application attribute information includes: one or more of application name, application size, application version, and download path information, it should be understood by those skilled in the art that the above application attribute information is only an example, and all available application attribute information falls within the scope of the present disclosure.
Optionally, as a possible embodiment, the silent installation apparatus for application disclosed above may configure the installation module 303 to include an ordering sub-module 401 and an installation sub-module 402, where:
the sequencing submodule 401 is configured to sequence the application programs stored in the silent installation download storage path according to a preset reference element, and obtain a sequencing result;
an installation submodule 402 configured to install the application programs in accordance with the sorting result order.
Fig. 4 is a block diagram of the installation module 303 in the application silent installation apparatus. By configuring the application program silent installation device, the application programs stored in the silent installation download storage path are sequenced according to the preset reference elements, and then the application programs are installed according to the sequencing result sequence, so that the technical effects of fully utilizing user equipment resources, effectively and quickly installing the application programs and saving time for users can be realized.
In a possible embodiment, the preset reference element comprises at least one of the following elements: the size of the application; relevant use data of the application program in a historical preset time period; downloading amount of the application program in a historical preset time period; and (4) good evaluation rate of the application program in a historical preset time period.
Optionally, as another possible embodiment, the silent installation apparatus for application programs disclosed above may configure the sorting submodule 401 to include a calculating unit and a sorting unit, where:
a calculating unit configured to calculate a weight value of the application program according to the preset reference element;
and the sorting unit is configured to sort the application programs according to the weight values to obtain a sorting result.
The silent installation device for the application program provided by the above-mentioned embodiment of the present disclosure can take into account reference elements such as the size of the application program, the relevant usage data of the application program in the historical preset time period, the download amount of the application program in the historical preset time period, and/or the goodness of rating of the application program in the historical preset time period, to perform priority ranking on the application program, specifically, calculate a weighted value of the application program according to the preset reference elements by the configuration calculation unit, and then rank the application program according to the weighted value by the configuration ranking unit, to obtain a ranking result, wherein for the relevant usage data of the application program in the historical preset time period, if the downloading of the application program is an update type downloading, the relevant usage data of the application program in the historical preset time period can be the usage data of the application program, if the downloading of the application program is a full new type downloading, the usage data related to the application program in the historical preset time period may be the usage data of the application program related to the application program. The method and the device can realize intelligent installation of the application program, save the time of the user and provide convenient technical effects for the user.
For example, the larger the application program is, the more time is considered to be consumed, the smaller the weight value of the application program is, and conversely, the larger the weight value is; the higher the relevant use data volume of the application program in the historical preset time period is, the more frequent the application program is considered to be used, the larger the weight value of the application program is, otherwise, the smaller the weight value is; the higher the download amount and/or the goodness of the application in the historical preset time period is, the more important the application is for the needs of the user, the larger the weight value of the application is, and conversely, the smaller the weight value is.
According to a third aspect of the embodiments of the present disclosure, there is provided an application silent installation apparatus, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
setting a silent installation download storage path of an application program, and endowing the read-write permission of the silent installation download storage path to a download manager and a package management service;
sending a downloading request to a downloading manager, wherein the downloading request is used for downloading a corresponding application program according to the downloading request and storing the application program to the silent installation downloading storage path after being received by the downloading manager;
and calling a package management service to install the application program stored in the silent installation download storage path.
The processor may be further configured to:
the download request includes: application attribute information and silent installation download storage path information.
The application attribute information includes: one or more of application name, application size, application version, download path information.
The invoking package management service installing the application program stored in the silent installation download storage path includes:
sequencing the application programs stored in the silent installation and download storage path according to a preset reference element to obtain a sequencing result;
and installing the application programs according to the sequencing result sequence.
The preset reference element comprises at least one of the following elements:
the size of the application;
relevant use data of the application program in a historical preset time period;
downloading amount of the application program in a historical preset time period;
and (4) good evaluation rate of the application program in a historical preset time period.
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.
Fig. 5 is a block diagram illustrating a silent installation apparatus for an application, which is suitable for a terminal device according to an exemplary embodiment. For example, the apparatus 500 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
The apparatus 500 may include one or more of the following components: processing component 502, memory 504, power component 506, multimedia component 508, audio component 510, input/output (I/O) interface 512, sensor component 514, and communication component 516.
The processing component 502 generally controls overall operation of the device 500, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 502 may include one or more processors 520 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 502 can include one or more modules that facilitate interaction between the processing component 502 and other components. For example, the processing component 502 can include a multimedia module to facilitate interaction between the multimedia component 508 and the processing component 502.
The memory 504 is configured to store various types of data to support operations at the apparatus 500. Examples of such data include instructions for any application or method operating on device 500, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 504 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 506 provides power to the various components of the device 500. The power components 506 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 500.
The multimedia component 508 includes a screen that provides an output interface between the device 500 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 508 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 500 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 510 is configured to output and/or input audio signals. For example, audio component 510 includes a Microphone (MIC) configured to receive external audio signals when apparatus 500 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 504 or transmitted via the communication component 516. In some embodiments, audio component 510 further includes a speaker for outputting audio signals.
The I/O interface 512 provides an interface between the processing component 502 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 514 includes one or more sensors for providing various aspects of status assessment for the device 500. For example, the sensor assembly 514 may detect an open/closed state of the apparatus 500, the relative positioning of the components, such as a display and keypad of the apparatus 500, the sensor assembly 514 may also detect a change in the position of the apparatus 500 or a component of the apparatus 500, the presence or absence of user contact with the apparatus 500, orientation or acceleration/deceleration of the apparatus 500, and a change in the temperature of the apparatus 500. The sensor assembly 514 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 514 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 514 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 516 is configured to facilitate communication between the apparatus 500 and other devices in a wired or wireless manner. The apparatus 500 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 516 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 516 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 500 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 504 comprising instructions, executable by the processor 520 of the apparatus 500 to perform the application silent installation method described above is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium, wherein instructions, when executed by a processor of an apparatus 500, enable the apparatus 500 to perform the application silent installation method described above, the method comprising:
setting a silent installation download storage path of an application program, and endowing the read-write permission of the silent installation download storage path to a download manager and a package management service;
sending a downloading request to a downloading manager, wherein the downloading request is used for downloading a corresponding application program according to the downloading request and storing the application program to the silent installation downloading storage path after being received by the downloading manager;
and calling a package management service to install the application program stored in the silent installation download storage path.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is 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 the present disclosure is limited only by the appended claims.

Claims (9)

1. A silent installation method of an application program is characterized by comprising the following steps:
setting a silent installation download storage path of an application program, and endowing the read-write permission of the silent installation download storage path to a download manager and a package management service;
sending a download request to a download manager, the download request being used for downloading a corresponding application program according to the download request and storing the application program to the silent installation download storage path after being received by the download manager, the download request including: application program attribute information and silent installation download storage path information;
and calling a package management service to install the application program stored in the silent installation download storage path.
2. The method of claim 1, wherein the application property information comprises: one or more of application name, application size, application version, download path information.
3. The method of claim 1, wherein the invoking package management service installing the application stored in the silent installation download storage path comprises:
sequencing the application programs stored in the silent installation and download storage path according to a preset reference element to obtain a sequencing result;
and installing the application programs according to the sequencing result sequence.
4. The method of claim 3, wherein the preset reference element comprises at least one of:
the size of the application;
relevant use data of the application program in a historical preset time period;
downloading amount of the application program in a historical preset time period;
and (4) good evaluation rate of the application program in a historical preset time period.
5. An application silent installation apparatus, comprising:
the device comprises a setting module, a download manager and a package management service, wherein the setting module is configured to set a silent installation download storage path of an application program and endow the read-write authority of the silent installation download storage path to the download manager and the package management service;
a sending module configured to send a download request to a download manager, where the download request is used to download a corresponding application program according to the download request and store the corresponding application program to the silent installation download storage path after being received by the download manager, and the download request includes: application program attribute information and silent installation download storage path information;
and the installation module is configured to call a package management service to install the application program stored in the silent installation download storage path.
6. The apparatus of claim 5, wherein the application property information comprises: one or more of application name, application size, application version, download path information.
7. The apparatus of claim 5, wherein the mounting module comprises:
the sequencing submodule is configured to sequence the application programs stored in the silent installation download storage path according to a preset reference element to obtain a sequencing result;
and the installation submodule is configured to install the application programs according to the sequencing result sequence.
8. The apparatus of claim 7, wherein the preset reference element comprises at least one of:
the size of the application;
relevant use data of the application program in a historical preset time period;
downloading amount of the application program in a historical preset time period;
and (4) good evaluation rate of the application program in a historical preset time period.
9. An application silent installation apparatus, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
setting a silent installation download storage path of an application program, and endowing the read-write permission of the silent installation download storage path to a download manager and a package management service;
sending a download request to a download manager, the download request being used for downloading a corresponding application program according to the download request and storing the application program to the silent installation download storage path after being received by the download manager, the download request including: application program attribute information and silent installation download storage path information;
and calling a package management service to install the application program stored in the silent installation download storage path.
CN201710534942.1A 2017-07-03 2017-07-03 Application silent installation method and device Active CN107436782B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710534942.1A CN107436782B (en) 2017-07-03 2017-07-03 Application silent installation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710534942.1A CN107436782B (en) 2017-07-03 2017-07-03 Application silent installation method and device

Publications (2)

Publication Number Publication Date
CN107436782A CN107436782A (en) 2017-12-05
CN107436782B true CN107436782B (en) 2020-06-02

Family

ID=60460813

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710534942.1A Active CN107436782B (en) 2017-07-03 2017-07-03 Application silent installation method and device

Country Status (1)

Country Link
CN (1) CN107436782B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108037987B (en) * 2017-12-07 2021-06-29 北京小米移动软件有限公司 Application program control method, device and storage medium
CN108038369A (en) * 2017-12-26 2018-05-15 上海展扬通信技术有限公司 A kind of application permission control method and terminal
CN113010197B (en) * 2020-06-11 2023-04-11 深圳市科脉技术股份有限公司 Application silence upgrading method, system, terminal equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104050000A (en) * 2014-06-23 2014-09-17 广州金山网络科技有限公司 Method and system for improving success rate of downloading and mounting
CN104199703A (en) * 2014-09-05 2014-12-10 北京奇虎科技有限公司 Unattended setup management method and device
CN105843647A (en) * 2016-03-28 2016-08-10 上海斐讯数据通信技术有限公司 Application installation method and device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8719809B2 (en) * 2006-12-22 2014-05-06 Commvault Systems, Inc. Point in time rollback and un-installation of software
US20120096453A1 (en) * 2010-10-14 2012-04-19 Meilstrup Jon A Software Package Management Mechanism
CN103136472B (en) * 2011-11-29 2016-08-31 腾讯科技(深圳)有限公司 A kind of anti-application program steals method and the mobile device of privacy
CN103810416A (en) * 2012-11-07 2014-05-21 腾讯科技(深圳)有限公司 Software installation or uninstallation method and device
CN103530534B (en) * 2013-09-23 2016-06-29 北京理工大学 A kind of Android program ROOT authorization method based on signature verification
CN103714287B (en) * 2013-12-25 2015-07-01 北京奇虎科技有限公司 Method and device for obtaining temporary Root authority

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104050000A (en) * 2014-06-23 2014-09-17 广州金山网络科技有限公司 Method and system for improving success rate of downloading and mounting
CN104199703A (en) * 2014-09-05 2014-12-10 北京奇虎科技有限公司 Unattended setup management method and device
CN105843647A (en) * 2016-03-28 2016-08-10 上海斐讯数据通信技术有限公司 Application installation method and device

Also Published As

Publication number Publication date
CN107436782A (en) 2017-12-05

Similar Documents

Publication Publication Date Title
EP3188066B1 (en) A method and an apparatus for managing an application
US20170046015A1 (en) Method and apparatus for presenting multimedia information
EP2998899A1 (en) Method and apparatus for running application program
JP6189000B2 (en) Application installation package processing method, apparatus, program, and recording medium
US9870239B2 (en) Method and device for running application program
JP6289764B2 (en) Device control method, apparatus, program, and recording medium
JP2017535003A (en) Multimedia information display method and apparatus
CN109669730B (en) Process keep-alive method, device, electronic equipment and medium
CN108629178B (en) Resource access authority configuration method and device of application program
CN105808305B (en) Static resource loading method and device
CN106775903B (en) Security policy file updating method and device
CN109413157B (en) Message shielding method and device
CN107436782B (en) Application silent installation method and device
CN105912204B (en) Method and device for starting application interface
CN109062625B (en) Application program loading method and device and readable storage medium
CN108037987B (en) Application program control method, device and storage medium
CN107368175B (en) Processing method and device for reducing terminal power consumption and terminal
CN106990984B (en) Method and device for updating system
CN105786561B (en) Method and device for calling process
CN107632835B (en) Application installation method and device
CN107103231B (en) Method and device for installing and managing application
CN111290843A (en) Process management method and device
CN107168731B (en) System update control method and device
CN106060104B (en) Application management method and device
CN106201634B (en) Software installation method and device

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
GR01 Patent grant
GR01 Patent grant