CN106598665A - Application installation method and device - Google Patents

Application installation method and device Download PDF

Info

Publication number
CN106598665A
CN106598665A CN201611133569.0A CN201611133569A CN106598665A CN 106598665 A CN106598665 A CN 106598665A CN 201611133569 A CN201611133569 A CN 201611133569A CN 106598665 A CN106598665 A CN 106598665A
Authority
CN
China
Prior art keywords
intended application
mounting condition
application
installation
installation kit
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.)
Pending
Application number
CN201611133569.0A
Other languages
Chinese (zh)
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 CN201611133569.0A priority Critical patent/CN106598665A/en
Publication of CN106598665A publication Critical patent/CN106598665A/en
Pending legal-status Critical Current

Links

Classifications

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention relates to an application installation method and device, and belongs to the field of terminal technology. The method comprises the steps of: acquiring an installation condition of a target application, wherein the target application is any application having an installation package downloaded but not installed, and the installation condition of the target application involves setting after the installation package of the target application is downloaded; judging whether the current state satisfies the installation condition; and when the current state satisfies the installation condition, installing the target application via the installation package of the target application. The application can be installed according to the set installation condition, and the application having the installation package downloaded can also be installed according to the installation condition at proper time after a user rejects installation, thereby avoiding the problem that the user may forget installation after the user rejects installation or the application needs to be installed by complex operation after the user desires to install, and improving the installation efficiency.

Description

Using installation method and device
Technical field
It relates to field of terminal technology, more particularly to one kind is using installation method and device.
Background technology
With the fast development of terminal technology, the function that terminal can be supported is also more and more, is its base using installation One of function of plinth.In the operation platform of current terminal, application to be installed generally in the form of installation kit, by adjust The installation kit is run with installation procedure, a series of files of generation can be parsed in the memory space of terminal, for installation Application afterwards is used when running.
One kind application installation method is currently provided, in the method, terminal can directly invoke installation procedure (such as Package Installer) application for having downloaded installation kit is installed.For example, for the application that user is actively downloaded by terminal, Terminal can directly invoke installation procedure and be installed when the installation kit for detecting the application is downloaded and completed;For in terminal The application that third-party application is downloaded, can call installation procedure to be installed by third-party application at foreground or running background. And, the process of the installation procedure operation includes:Eject installation interface and show user, the installation interface is for pointing out user It is no to confirm to install;When confirmation installation instruction is received based on the installation interface, continue to install;When based on installation interface reception During to refusal installation instruction, terminate installing.
The content of the invention
To overcome problem present in correlation technique, present disclose provides one kind application installation method.The technical scheme It is as follows:
First aspect, there is provided one kind application installation method, it is characterised in that methods described includes:
The mounting condition of intended application is obtained, the intended application is to download installation kit but uninstalled arbitrary application, The mounting condition of the intended application is to arrange after the completion of the installation kit of the intended application is downloaded;
Whether the state that judgement is presently in meets the mounting condition;
When the state being presently in meets the mounting condition, the mesh is installed by the installation kit of the intended application Mark application.
Alternatively, the mounting condition includes at least one of set-up time scope and installation site region;
Correspondingly, it is described to judge whether the state that is presently in meets the mounting condition, including in the following manner extremely Few one kind:
When the mounting condition includes the set-up time scope, judge current time whether in the set-up time Scope, when current time is in the set-up time scope, it is determined that the state being presently in meets the mounting condition;
When the mounting condition includes installation site region, whether judgement is presently in position in the installation site Region, when position is presently in the installation site region, it is determined that the state being presently in meets the mounting condition.
Alternatively, before the mounting condition for obtaining intended application, also include:
Call using function is installed, function is installed in the application to be used to obtain the mounting bar arranged for the intended application Part;
Function is installed by the application and obtains and store the mounting condition and described arranged for the intended application The store path information of the installation kit of intended application.
Alternatively, the mounting condition for obtaining intended application, including:
From the information that function storage is installed by the application, the mounting condition of the intended application is obtained.
Alternatively, the installation kit by the intended application installs the intended application, including:
From the information that function storage is installed by the application, the store path of the installation kit of the intended application is obtained Information;
According to the store path information, the installation kit of the intended application is obtained, and institute is installed by the installation kit State intended application.
Alternatively, the installation kit by the intended application is installed after the intended application, is also included:
When the intended application is present to be updated, the installation kit for updating the intended application is downloaded;
The mounting condition for updating the installation kit of the intended application is set;
According to the mounting condition for updating the installation kit of the intended application, the intended application is carried out more Newly.
Second aspect, there is provided one kind application erecting device, it is characterised in that described device includes:
First acquisition module, for obtaining the mounting condition of intended application, the intended application for download installation kit but Uninstalled arbitrary application, the mounting condition of the intended application is to arrange after the completion of the installation kit of the intended application is downloaded;
Judge module, for judging whether the state being presently in meets the mounting condition;
Module is installed, for when the state being presently in meets the mounting condition, by the peace of the intended application Dress bag installs the intended application.
Alternatively, the mounting condition includes at least one of set-up time scope and installation site region;
Correspondingly, the judge module includes at least one in following submodule:
First judging submodule, for when the mounting condition includes the set-up time scope, judging current time Whether the set-up time scope is in, when current time is in the set-up time scope, it is determined that the state being presently in Meet the mounting condition;
Second judging submodule, for when the mounting condition includes installation site region, judgement to be presently in position Whether the installation site region is in, when position is presently in the installation site region, it is determined that be presently in State meets the mounting condition.
Alternatively, described device also includes:
Calling module, for calling using function is installed, function is installed in the application should for the target for acquisition With the mounting condition for arranging;
Second acquisition module, obtains and stores what is arranged for the intended application for installing function by the application The store path information of the installation kit of mounting condition and the intended application.
Alternatively, first acquisition module is used for:
From the information that function storage is installed by the application, the mounting condition of the intended application is obtained.
Alternatively, the installation module includes:
First acquisition submodule, should for from the information that function storage is installed by the application, obtaining the target The store path information of installation kit;
Second acquisition submodule, for according to the store path information, obtaining the installation kit of the intended application, and leads to Cross the installation kit and the intended application is installed.
Alternatively, described device also includes:
Download module, for when the intended application exists and updates, downloading the installation for updating the intended application Bag;
Setup module, for arranging the mounting condition for updating the installation kit of the intended application;
Update module, for according to the mounting condition for updating the installation kit of the intended application, to the mesh Mark application is updated.
The third aspect, there is provided one kind application erecting device, it is characterised in that described device includes:
Processor;
For storing the memorizer of the processor executable;
Wherein, the processor is used for:
The mounting condition of intended application is obtained, the intended application is to download installation kit but uninstalled arbitrary application, The mounting condition of the intended application is to arrange after the completion of the installation kit of the intended application is downloaded;
Whether the state that judgement is presently in meets the mounting condition;
When the state being presently in meets the mounting condition, the mesh is installed by the installation kit of the intended application Mark application.
The technical scheme that embodiment of the disclosure is provided can include following beneficial effect:
In the embodiment of the present disclosure, for installation kit but uninstalled intended application is downloaded, the intended application can be obtained The mounting condition arranged after the completion of installation kit is downloaded, judges whether the state being presently in meets the mounting condition, when current When state in which meets the mounting condition, the intended application is installed by the installation kit of the intended application.Due to can basis The mounting condition of setting installs application, therefore for downloading the applying after user's refusal is installed of installation kit, additionally it is possible to according to Mounting condition installed on suitable opportunity, it is to avoid user's refusal install after may caused by user forget to install or The problem for needing to be installed by complicated operation when wanting to install, improves installation effectiveness.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, not The disclosure can be limited.
Description of the drawings
Accompanying drawing herein is merged in description and constitutes the part of this specification, shows the enforcement for meeting the disclosure Example, and be used to explain the principle of the disclosure together with description.
Fig. 1 is a kind of flow chart of the application installation method according to an exemplary embodiment;
Fig. 2 is a kind of flow chart of the application installation method according to an exemplary embodiment;
Fig. 3 A are a kind of block diagrams of the application erecting device according to an exemplary embodiment;
Fig. 3 B are a kind of structural representations of the judge module 320 according to an exemplary embodiment;
Fig. 3 C are a kind of block diagrams of the application erecting device according to an exemplary embodiment;
Fig. 3 D are a kind of structural representations of the judge module 330 according to an exemplary embodiment;
Fig. 3 E are a kind of block diagrams of the application erecting device according to an exemplary embodiment;
Fig. 4 is a kind of block diagram of the application erecting device 400 according to an exemplary embodiment.
Specific embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Explained below is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.Conversely, they be only with it is such as appended The example of the consistent apparatus and method of some aspects described in detail in claims, the disclosure.
Before detailed explanation is carried out to the embodiment of the present disclosure, first the application scenarios of the embodiment of the present disclosure are given Introduce.The method that the embodiment of the present disclosure is provided is applied in terminal, and is applied in the scene that terminal installs application.Correlation technique In, terminal can be mounted directly after the completion of the installation kit of application is downloaded, and for example, terminal can detect the installation kit of application Directly invoke installation procedure when download is completed to be installed, or, can adjust by third-party application at foreground or running background Installed with installation procedure.And, when installation procedure runs, can first eject installation interface and show user, point out user Whether confirmation is installed.In due to practical application, when terminal calls installation procedure to eject installation interface, may be not at closing at that time Suitable installation opportunity, therefore user may refuse installation.And when suitable installation opportunity is reached after user's refusal is installed, by Download in the installation kit of the application and completed or third-party application may be out of service, terminal will be unable to actively adjust again Installed with installation procedure prompting, and then may result in user and forget to install, or when user wants to install, needed by looking into Looking for the application downloaded or starting the complicated operation such as third-party application to install, and installation effectiveness is relatively low.In order to solve phase The low problem of installation effectiveness in the technology of pass, there is provided one kind application installation method, details are as follows for the embodiment of the present disclosure:
Fig. 1 is a kind of flow chart of the application installation method according to an exemplary embodiment, as shown in figure 1, the party Method is used in terminal, comprises the following steps:
In a step 101, the mounting condition of intended application is obtained, the intended application to download installation kit but uninstalled Arbitrary application, the mounting condition of the intended application is to arrange after the completion of the installation kit of the intended application is downloaded.
In a step 102, judge whether the state being presently in meets the mounting condition.
In step 103, when the state being presently in meets the mounting condition, pacified by the installation kit of the intended application Fill the intended application.
In the embodiment of the present disclosure, for installation kit but uninstalled intended application is downloaded, the intended application can be obtained The mounting condition arranged after the completion of installation kit is downloaded, judges whether the state being presently in meets the mounting condition, when current When state in which meets the mounting condition, the intended application is installed by the installation kit of the intended application.Due to can basis The mounting condition of setting installs application, therefore for downloading the applying after user's refusal is installed of installation kit, additionally it is possible to according to Mounting condition installed on suitable opportunity, it is to avoid user's refusal install after may caused by user forget to install or The problem for needing to be installed by complicated operation when wanting to install, improves installation effectiveness.
Alternatively, the mounting condition includes at least one of set-up time scope and installation site region;
Correspondingly, whether the state that the judgement is presently in meets at least in the mounting condition, including in the following manner Kind:
When the mounting condition includes the set-up time scope, whether current time is judged in the set-up time scope, When current time is in the set-up time scope, it is determined that the state being presently in meets the mounting condition;
When the mounting condition includes installation site region, whether judgement is presently in position in the installation site area Domain, when position is presently in the installation site region, it is determined that the state being presently in meets the mounting condition.
Alternatively, before the mounting condition of the acquisition intended application, also include:
Call using function is installed, function is installed in the application to be used to obtain the mounting condition arranged for the intended application;
Install that function obtains and store the mounting condition that arranges for the intended application and the target should by the application The store path information of installation kit.
Alternatively, the mounting condition of the acquisition intended application, including:
From installing in the information of function storage by the application, the mounting condition of the intended application is obtained.
Alternatively, the intended application should be installed by the installation kit of the intended application, including:
From installing in the information of function storage by the application, the store path letter of the installation kit of the intended application is obtained Breath;
According to the store path information, the installation kit of the intended application is obtained, and the target is installed by the installation kit and answered With.
Alternatively, should be installed after the intended application by the installation kit of the intended application, also be included:
When the intended application is present to be updated, the installation kit for updating the intended application is downloaded;
This is set for updating the mounting condition of the installation kit of the intended application;
According to the mounting condition for updating the installation kit of the intended application, the intended application is updated.
Above-mentioned all optional technical schemes, can be according to the alternative embodiment for arbitrarily combining to form the disclosure, disclosure reality Apply example no longer to repeat this one by one.
Fig. 2 is a kind of flow chart of the application installation method according to an exemplary embodiment, as shown in Fig. 2 the party Method is used in terminal, comprises the following steps:
In step 201, terminal is called using function is installed, and the application is installed function and set for intended application for obtaining The mounting condition put, the intended application is to download installation kit but uninstalled arbitrary application.
In the embodiment of the present disclosure, in order to improve installation effectiveness, can arrange to download installation kit but uninstalled application Mounting condition, after user's refusal is installed, can actively to call installation procedure to be installed according to default mounting condition.
Wherein, the mounting condition can be included in the conditions such as set-up time scope, installation site region, terminal unit status At least one, unify fixed for being each defined in the time range specified, in the specified band of position, when terminal symbol Could install during equipment state.Terminal unit status can include internal storage state, CPU (Central Processing Unit, Central processing unit) running status, network state etc., the embodiment of the present disclosure is not limited this.
The mounting condition of intended application can be arranged after the completion of the installation kit of the intended application is downloaded.And, target should Mounting condition can be by terminal default setting, can be by the third-party application default setting of download installation kit, it is also possible to by User is arranged, and the embodiment of the present disclosure is not limited this.
As a example by being arranged by user, terminal can show installation settings circle after the completion of the installation kit of intended application is downloaded Face, the installation settings interface is used to arrange the mounting condition of the intended application.Such as, interface can be arranged in the mounting condition to set Put set-up time scope or installation site region of the intended application etc..
In practical application, the current installation procedure (such as Package Installer) of modification can be passed through to provide installation Interface is set.In correlation technique, when the installation kit of intended application calls installation procedure first after the completion of downloading, in installation procedure fortune During row, installation interface can be first ejected, the installation interface is used to prompt the user whether to confirm to install.And the embodiment of the present disclosure In, can be by changing the installation procedure so that the installation interface that the installation procedure is ejected can be further used for arranging to be installed Condition.
For example, can be outside the confirmation Installation Options and cancellation Installation Options that installation interface is provided, increase is installed after a while Option, this after a while Installation Options be used to arrange the mounting condition of intended application.When receiving the triggering to the Installation Options after a while During instruction, you can show the installation settings interface, so that user arranges mounting condition in the installation settings interface.
In addition, the embodiment of the present disclosure provides a kind of application installs function, the peace that function is that terminal is provided is installed in the application The setting interface of dress condition, for obtaining and stores the mounting condition of setting.Therefore, during mounting condition setting, eventually End can automatically call the application to install function.
Further, the installation path information of the installation kit that function can be also used for obtaining intended application is installed in the application, And store the installation path information.Such as, when the setting for detecting the mounting condition to intended application is operated, by calling this Obtain the installation path information of the installation kit of the intended application automatically using installation function.
Further, in order to improve accuracy, the application is installed function and can also pre-set the setting rule of mounting condition Then, and to arrange mounting condition detect.Such as, whether the set-up time scope that can detect setting is the rational time Range format, or whether the installation site region for arranging is rational band of position form etc..Further, the application peace Whether dress function can also be detected to the installation path information of installation kit, can by the installation path information to detect Find the installation kit of the intended application.After a test, the application is installed function and can also return testing result.
Example, when mounting condition is set-up time scope, function is installed in the application can be:int SetInstallTime (int time, char filepath);Wherein, time refers to concrete timestamp, and by it is multiple when Between stamp can be with limiting time scope, char filepath refer to the installation path information of the installation kit of intended application.
When mounting condition is installation site region, function is installed in the application can be:int setInstallLocation(int loc,char filepath);Wherein, loc refers to latitude and longitude information, and by multiple Latitude and longitude information can be with defined position region, and char filepath refer to the installation path information of the installation kit of intended application.
Further, above-mentioned application is installed function and can also return testing result.Example, function is installed in above-mentioned application Function return value is included but is not limited to:1 expression detection passes through, and arranges successfully;>=2 represent that detection does not pass through, setup failed, and Different values can correspond to different failure causes;0 represents unknown cause failure.
It should be noted that installation site region can be indicated with latitude and longitude information, it is also possible to location area come Indicate, the embodiment of the present disclosure is not limited this.The location area can be band of position title, numbering etc..For example, may be used To pre-build the corresponding relation between location area and longitude and latitude such as country, province, area, based on the band of position mark Know and the corresponding relation, you can obtain the latitude and longitude information of the band of position.
In step 202., function is installed by the application and obtains and store the mounting condition arranged for the intended application And the store path information of the installation kit of the intended application.
Wherein it is possible to by mounting condition and store path information Store in default storage location, so as to subsequent terminal The mounting condition and store path information can be searched from default store path.
Such as, can be by the mounting condition and store path information Store in specified relationship list, the specified relationship row Table is used to store the application identities and corresponding mounting condition and store path information of multiple intended application, or many for storing The mark of the installation kit of individual intended application and corresponding mounting condition and store path information.
In step 203, the mounting condition of intended application is obtained.
For the intended application for being provided with mounting condition, terminal can be from the information that function storage is installed by the application In, obtain the mounting condition of the intended application.For example, the letter that the default storage location of function is stored can be installed from the application The mounting condition of the intended application is obtained in breath.Example, the corresponding specified corresponding relation row of function can be installed from the application In table, the mounting condition of the intended application is obtained.
In step 204, judge whether the state being presently in meets the mounting condition.
According to the difference of mounting condition, the mode whether state that judgement is presently in meets the mounting condition is also different. So that mounting condition includes at least one of set-up time scope and installation site region as an example, correspondingly, judge to be presently in State whether meet at least one in the mounting condition, including in the following manner:
First kind of way:When the mounting condition includes the set-up time scope, judge current time whether in the peace ETL estimated time of loading scope, when current time is in the set-up time scope, it is determined that the state being presently in meets the mounting condition.
For example, it is contemplated that relatively doing to user on daytime, set-up time scope can be set to 9 points to 12 points of evening, then when work as When front time point falls at 9 points in evening in 12 time range, you can it is determined that the state being presently in meets mounting condition.
It should be noted that the embodiment of the present disclosure is illustrated as a example by with the set-up time, scope is as time period, and it is real In the application of border, set-up time scope can also include time point, and the embodiment of the present disclosure is not limited this.
The second way:When the mounting condition includes installation site region, whether judgement is presently in position in this Installation site region, when position is presently in the installation site region, it is determined that the state being presently in meets the installation Condition.
When the mounting condition includes installation site region, terminal can obtain the position being presently in by location technology Put, and judge to be presently in position whether in the installation site region.The location technology can be GPS (Global Positioning System, global positioning system), WIFI (WIreless-Fidelity, Wireless Fidelity) positioning etc. positioning skill Art, the embodiment of the present disclosure is not limited this.And, when the mounting condition includes installation site region, the terminal can be real When obtain the position that is presently in and judge, it is also possible to periodically obtain and be presently in position and judge, the embodiment of the present disclosure This is not also limited.
For example, it is assumed that intended application is the translation application of certain national language, then the installation site region can be arranged For the corresponding national region of the translation application, when position is presently in positioned at the national region, you can it is determined that be presently in State meets the mounting condition.Or, it is assumed that the intended application is the map application of certain geographic area, then can install this The band of position is set to the geographic area belonging to the map application, when position is presently in positioned at the geographic area, you can really Settled front state in which meets the mounting condition.
It should be noted that the embodiment of the present disclosure is illustrated so that installation site region is as region as an example, and it is actual Using in, installation site region can also include location point, and the embodiment of the present disclosure is not limited this.
In step 205, when the state being presently in meets the mounting condition, pacified by the installation kit of the intended application Fill the intended application.
When the state being presently in meets the mounting condition, such as set-up time scope of the current time in arranging, or When being presently in installation site region of the position in arranging, the terminal can obtain the installation kit of the intended application, and pass through The installation kit of the intended application installs the intended application.
Wherein, the process for installing the intended application by the installation kit of the intended application can include:From by the application During the information of function storage is installed, the store path information of the installation kit of the intended application is obtained;According to the store path information, The installation kit of the intended application is obtained, and the intended application is installed by the installation kit.
In practical application, terminal can call installation procedure to run the peace after the installation kit for obtaining the intended application Dress bag, so as to install the intended application.The installation procedure can be Package Installer etc..And, the installation procedure fortune During row, an installation interface can also be first shown, the installation interface is used to prompt the user whether to confirm to install;When based on the installation When interface receives confirmation installation instruction, you can continue to install;When refusal installation instruction is received based on the installation interface, i.e., Can terminate installing.
The embodiment of the present disclosure, after user's refusal is installed, by the mounting condition for arranging intended application, can realize closing The suitable set-up time or suitable installation region calls installation procedure to point out user installation automatically, forgets so as to avoid user Install, or need the problem that could be installed by complicated operation, improve installation effectiveness and motility.
For example, third-party application can in advance download the indispensable installation of the trip such as translation, the map in country variant or area Bag, user at home when need not point out user installation, when user reach other area or country when, can be according to terminal Position, calls installation procedure to point out the user installation application that therewith position matches.
Further, in the embodiment of the present disclosure, except arranging and install to download installation kit but uninstalled application Outside condition, update condition can also be set for mounted application, that is to say, can be using the installation for renewal downloaded Bag arranges mounting condition.
In one embodiment, after the intended application is installed by the installation kit of the intended application, when the target should During with there is renewal, the installation kit for updating the intended application can be downloaded;This is set for updating the peace of the intended application The mounting condition of dress bag;According to the mounting condition for updating the installation kit of the intended application, the intended application is carried out more Newly.
Wherein, according to the mounting condition for updating the installation kit of the intended application, the intended application is updated Implementation principle, with the above-mentioned mounting condition according to intended application, the implementation principle installed to intended application is identical, specifically Process may be referred to above-mentioned associated description, and the embodiment of the present disclosure will not be described here.
For example, third-party application in advance can download the AKU of oneself, and arrange and pacified after at 9 points in evening Dress, then will not point out to install when user on daytime is busy, and at night 9 points can just point out user installation, so as to be conducive to carrying Rise progression rate.
It should be noted that the embodiment of the present disclosure be only using install function setup mounting condition as a example by illustrate, and In practical application, mounting condition can also be by other means set, the embodiment of the present disclosure is not limited this.
In the embodiment of the present disclosure, for installation kit but uninstalled intended application is downloaded, the intended application can be obtained The mounting condition arranged after the completion of installation kit is downloaded, judges whether the state being presently in meets the mounting condition, when current When state in which meets the mounting condition, the intended application is installed by the installation kit of the intended application.Due to can basis The mounting condition of setting installs application, therefore for downloading the applying after user's refusal is installed of installation kit, additionally it is possible to according to Mounting condition installed on suitable opportunity, it is to avoid user's refusal install after may caused by user forget to install or The problem for needing to be installed by complicated operation when wanting to install, improves installation effectiveness.
Fig. 3 A are a kind of block diagram of the application erecting device according to an exemplary embodiment, as shown in Figure 3A, the dress Put including:
First acquisition module 310, for obtaining the mounting condition of intended application, the intended application for download installation kit but Uninstalled arbitrary application, the mounting condition of the intended application is to arrange after the completion of the installation kit of the intended application is downloaded;
Judge module 320, for judging whether the state being presently in meets the mounting condition;
Module 330 is installed, for when the state being presently in meets the mounting condition, by the installation of the intended application Bag installs the intended application.
Alternatively, the mounting condition includes at least one of set-up time scope and installation site region;
Correspondingly, referring to Fig. 3 B, the judge module 320 includes at least one in following submodule:
First judging submodule 321, for when the mounting condition includes the set-up time scope, judging that current time is It is no in the set-up time scope, when current time is in the set-up time scope, it is determined that the state being presently in meets this Mounting condition;
Second judging submodule 322, for when the mounting condition includes installation site region, judgement to be presently in position Whether the installation site region is in, when position is presently in the installation site region, it is determined that the state being presently in Meet the mounting condition.
Alternatively, referring to Fig. 3 C, the device also includes:
Calling module 340, for calling using function is installed, the application is installed function and is directed to the intended application for obtaining The mounting condition of setting;
Second acquisition module 350, obtains and stores what is arranged for the intended application for installing function by the application The store path information of the installation kit of mounting condition and the intended application.
Alternatively, first acquisition module 310 is used for:
From installing in the information of function storage by the application, the mounting condition of the intended application is obtained.
Alternatively, referring to Fig. 3 D, the installation module 330 includes:
First acquisition submodule 331, for from installing in the information of function storage by the application, obtaining the intended application Installation kit store path information;
Second acquisition submodule 332, for according to the store path information, obtaining the installation kit of the intended application, and leads to Cross the installation kit and the intended application is installed.
Alternatively, referring to Fig. 3 E, the device also includes:
Download module 360, for when the intended application exists and updates, downloading the installation for updating the intended application Bag;
Setup module 370, for the mounting condition for arranging this for updating the installation kit of the intended application;
Update module 380, for being used to update the mounting condition of the installation kit of the intended application according to this, should to the target With being updated.
In the embodiment of the present disclosure, for downloading installation kit but uninstalled intended application, this can be with using erecting device The mounting condition that the intended application is arranged after the completion of installation kit download is obtained, judges whether the state being presently in meets the peace Dress condition, when the state being presently in meets the mounting condition, by the installation kit of the intended application intended application is installed. Due to application can be installed according to the mounting condition for arranging, therefore install in user's refusal for applying for installation kit is downloaded Afterwards, additionally it is possible to installed on suitable opportunity according to mounting condition, it is to avoid user's refusal install after may caused by user Forget to install or need when wanting to install the problem that could be installed by complicated operation, improve installation effectiveness.
With regard to the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant the method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Fig. 4 is a kind of block diagram of the application erecting device 400 according to an exemplary embodiment.For example, device 400 can To be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, armarium is good for Body equipment, personal digital assistant etc..
With reference to Fig. 4, device 400 can include following one or more assemblies:Process assembly 402, memorizer 404, power supply Component 406, multimedia groupware 408, audio-frequency assembly 410, the interface 412 of input/output (I/O), sensor cluster 414, and Communication component 416.
The integrated operation of the usual control device 400 of process assembly 402, such as with display, call, data communication, phase Machine operates and records the associated operation of operation.Process assembly 402 can refer to including one or more processors 420 to perform Order, to complete all or part of step of above-mentioned method.Additionally, process assembly 402 can include one or more modules, just Interaction between process assembly 402 and other assemblies.For example, process assembly 402 can include multi-media module, many to facilitate Interaction between media component 408 and process assembly 402.
Memorizer 404 is configured to store various types of data to support the operation in device 400.These data are shown Example includes the instruction of any application program for operating on device 400 or method, and contact data, telephone book data disappears Breath, picture, video etc..Memorizer 404 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) is erasable to compile Journey read only memory (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 406 provides power supply for the various assemblies of device 400.Power supply module 406 can include power management system System, one or more power supplys, and other generate, manage and distribute the component that power supply is associated with for device 400.
Multimedia groupware 408 is included in the screen of one output interface of offer between described device 400 and user.One In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch screen, to receive the input signal from user.Touch panel includes one or more touch sensings Device is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or sliding action Border, but also detect and the touch or slide related persistent period and pressure.In certain embodiments, many matchmakers Body component 408 includes a front-facing camera and/or post-positioned pick-up head.When device 400 be in operator scheme, such as screening-mode or During video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and Post-positioned pick-up head can be a fixed optical lens system or with focusing and optical zoom capabilities.
Audio-frequency assembly 410 is configured to output and/or input audio signal.For example, audio-frequency assembly 410 includes a Mike Wind (MIC), when device 400 is in operator scheme, such as call model, logging mode and speech recognition mode, mike is matched somebody with somebody It is set to reception external audio signal.The audio signal for being received can be further stored in memorizer 404 or via communication set Part 416 sends.In certain embodiments, audio-frequency assembly 410 also includes a speaker, for exports audio signal.
, to provide interface between process assembly 402 and peripheral interface module, above-mentioned peripheral interface module can for I/O interfaces 412 To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor cluster 414 includes one or more sensors, and the state for providing various aspects for device 400 is commented Estimate.For example, sensor cluster 414 can detect the opening/closed mode of device 400, and the relative localization of component is for example described Component is the display and keypad of device 400, and sensor cluster 414 can be with 400 1 components of detection means 400 or device Position change, user is presence or absence of with what device 400 was contacted, the orientation of device 400 or acceleration/deceleration and device 400 Temperature change.Sensor cluster 414 can include proximity transducer, be configured to be detected when without any physical contact The presence of object nearby.Sensor cluster 414 can also include optical sensor, such as CMOS or ccd image sensor, for into As used in application.In certain embodiments, the sensor cluster 414 can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure transducer or temperature sensor.
Communication component 416 is configured to facilitate the communication of wired or wireless way between device 400 and other equipment.Device 400 can access based on the wireless network of communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary enforcement In example, communication component 416 receives the broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 416 also includes near-field communication (NFC) module, to promote junction service.Example Such as, NFC module can be based on RF identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, Bluetooth (BT) technology and other technologies are realizing.
In the exemplary embodiment, device 400 can be by one or more application specific integrated circuits (ASIC), numeral letter Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components realizations, for performing said method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided Such as include the memorizer 404 of instruction, above-mentioned instruction can be performed to complete said method by the processor 420 of device 400.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk With optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium applies erecting device by this Computing device when so that this is able to carry out one kind application installation method using erecting device, and methods described includes:
The mounting condition of intended application is obtained, the intended application is to download installation kit but uninstalled arbitrary application, The mounting condition of the intended application is to arrange after the completion of the installation kit of the intended application is downloaded;
Whether the state that judgement is presently in meets the mounting condition;
When the state being presently in meets the mounting condition, the mesh is installed by the installation kit of the intended application Mark application.
Alternatively, the mounting condition includes at least one of set-up time scope and installation site region;
Correspondingly, it is described to judge whether the state that is presently in meets the mounting condition, including in the following manner extremely Few one kind:
When the mounting condition includes the set-up time scope, judge current time whether in the set-up time Scope, when current time is in the set-up time scope, it is determined that the state being presently in meets the mounting condition;
When the mounting condition includes installation site region, whether judgement is presently in position in the installation site Region, when position is presently in the installation site region, it is determined that the state being presently in meets the mounting condition.
Alternatively, before the mounting condition for obtaining intended application, also include:
Call using function is installed, function is installed in the application to be used to obtain the mounting bar arranged for the intended application Part;
Function is installed by the application and obtains and store the mounting condition and described arranged for the intended application The store path information of the installation kit of intended application.
Alternatively, the mounting condition for obtaining intended application, including:
From the information that function storage is installed by the application, the mounting condition of the intended application is obtained.
Alternatively, the installation kit by the intended application installs the intended application, including:
From the information that function storage is installed by the application, the store path of the installation kit of the intended application is obtained Information;
According to the store path information, the installation kit of the intended application is obtained, and institute is installed by the installation kit State intended application.
Alternatively, the installation kit by the intended application is installed after the intended application, is also included:
When the intended application is present to be updated, the installation kit for updating the intended application is downloaded;
The mounting condition for updating the installation kit of the intended application is set;
According to the mounting condition for updating the installation kit of the intended application, the intended application is carried out more Newly.
In the embodiment of the present disclosure, for downloading installation kit but uninstalled intended application, this can be with using erecting device The mounting condition that the intended application is arranged after the completion of installation kit download is obtained, judges whether the state being presently in meets the peace Dress condition, when the state being presently in meets the mounting condition, by the installation kit of the intended application intended application is installed. Due to application can be installed according to the mounting condition for arranging, therefore install in user's refusal for applying for installation kit is downloaded Afterwards, additionally it is possible to installed on suitable opportunity according to mounting condition, it is to avoid user's refusal install after may caused by user Forget to install or need when wanting to install the problem that could be installed by complicated operation, improve installation effectiveness.
Those skilled in the art will readily occur to its of the disclosure after considering description and putting into practice scheme disclosed herein Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following Claim is pointed out.
It should be appreciated that the disclosure is not limited to the precision architecture for being described above and being shown in the drawings, and And can without departing from the scope carry out various modifications and changes.The scope of the present disclosure is only limited by appended claim.

Claims (13)

1. one kind application installation method, it is characterised in that methods described includes:
The mounting condition of intended application is obtained, the intended application is described to download installation kit but uninstalled arbitrary application The mounting condition of intended application is to arrange after the completion of the installation kit of the intended application is downloaded;
Whether the state that judgement is presently in meets the mounting condition;
When the state being presently in meets the mounting condition, installing the target by the installation kit of the intended application should With.
2. the method for claim 1, it is characterised in that the mounting condition includes set-up time scope and installation site At least one of region;
Correspondingly, whether the state for judging to be presently in meets the mounting condition, including at least in the following manner Kind:
When the mounting condition includes the set-up time scope, judge current time whether in the set-up time model Enclose, when current time is in the set-up time scope, it is determined that the state being presently in meets the mounting condition;
When the mounting condition includes installation site region, whether judgement is presently in position in the installation site area Domain, when position is presently in the installation site region, it is determined that the state being presently in meets the mounting condition.
3. method as claimed in claim 1 or 2, it is characterised in that before the mounting condition of the acquisition intended application, also wrap Include:
Call using function is installed, function is installed in the application to be used to obtain the mounting condition arranged for the intended application;
Function is installed by the application and obtains and store the mounting condition and the target that arrange for the intended application Using installation kit store path information.
4. method as claimed in claim 3, it is characterised in that the mounting condition of the acquisition intended application, including:
From the information that function storage is installed by the application, the mounting condition of the intended application is obtained.
5. method as claimed in claim 3, it is characterised in that the installation kit by the intended application installs the mesh Mark application, including:
From the information that function storage is installed by the application, the store path letter of the installation kit of the intended application is obtained Breath;
According to the store path information, the installation kit of the intended application is obtained, and the mesh is installed by the installation kit Mark application.
6. the method for claim 1, it is characterised in that the installation kit by the intended application installs the mesh After mark application, also include:
When the intended application is present to be updated, the installation kit for updating the intended application is downloaded;
The mounting condition for updating the installation kit of the intended application is set;
According to the mounting condition for updating the installation kit of the intended application, the intended application is updated.
7. one kind application erecting device, it is characterised in that described device includes:
First acquisition module, for obtaining the mounting condition of intended application, the intended application is to download installation kit but do not pacify Arbitrary application of dress, the mounting condition of the intended application is to arrange after the completion of the installation kit of the intended application is downloaded;
Judge module, for judging whether the state being presently in meets the mounting condition;
Module is installed, for when the state being presently in meets the mounting condition, by the installation kit of the intended application The intended application is installed.
8. device as claimed in claim 7, it is characterised in that the mounting condition includes set-up time scope and installation site At least one of region;
Correspondingly, the judge module includes at least one in following submodule:
First judging submodule, for when the mounting condition includes the set-up time scope, whether judging current time In the set-up time scope, when current time is in the set-up time scope, it is determined that the state being presently in meets The mounting condition;
Second judging submodule, for when the mounting condition includes installation site region, whether judgement to be presently in position In the installation site region, when position is presently in the installation site region, it is determined that the state being presently in Meet the mounting condition.
9. device as claimed in claim 7 or 8, it is characterised in that described device also includes:
Calling module, for calling using function is installed, the application is installed function and is set for the intended application for obtaining The mounting condition put;
Second acquisition module, for installing function by the application installation arranged for the intended application is obtained and stores The store path information of the installation kit of condition and the intended application.
10. device as claimed in claim 9, it is characterised in that first acquisition module is used for:
From the information that function storage is installed by the application, the mounting condition of the intended application is obtained.
11. devices as claimed in claim 9, it is characterised in that the installation module includes:
First acquisition submodule, for from the information that function storage is installed by the application, obtaining the intended application The store path information of installation kit;
Second acquisition submodule, for according to the store path information, obtaining the installation kit of the intended application, and by institute State installation kit and the intended application is installed.
12. devices as claimed in claim 7, it is characterised in that described device also includes:
Download module, for when the intended application exists and updates, downloading the installation kit for updating the intended application;
Setup module, for arranging the mounting condition for updating the installation kit of the intended application;
Update module, for according to the mounting condition for updating the installation kit of the intended application, answering the target With being updated.
13. one kind application erecting devices, it is characterised in that described device includes:
Processor;
For storing the memorizer of the processor executable;
Wherein, the processor is used for:
The mounting condition of intended application is obtained, the intended application is described to download installation kit but uninstalled arbitrary application The mounting condition of intended application is to arrange after the completion of the installation kit of the intended application is downloaded;
Whether the state that judgement is presently in meets the mounting condition;
When the state being presently in meets the mounting condition, installing the target by the installation kit of the intended application should With.
CN201611133569.0A 2016-12-10 2016-12-10 Application installation method and device Pending CN106598665A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611133569.0A CN106598665A (en) 2016-12-10 2016-12-10 Application installation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611133569.0A CN106598665A (en) 2016-12-10 2016-12-10 Application installation method and device

Publications (1)

Publication Number Publication Date
CN106598665A true CN106598665A (en) 2017-04-26

Family

ID=58598951

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611133569.0A Pending CN106598665A (en) 2016-12-10 2016-12-10 Application installation method and device

Country Status (1)

Country Link
CN (1) CN106598665A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110806929A (en) * 2019-10-24 2020-02-18 上海连尚网络科技有限公司 Installation package processing method and device and computer storage medium
CN110941437A (en) * 2019-11-25 2020-03-31 连尚(新昌)网络科技有限公司 Method and equipment for installing application
CN113703897A (en) * 2021-08-30 2021-11-26 北京达佳互联信息技术有限公司 Application processing method and device in electronic equipment
CN113885914A (en) * 2021-09-30 2022-01-04 北京达佳互联信息技术有限公司 Application program processing method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1794734A (en) * 2005-09-28 2006-06-28 华为技术有限公司 Method of unloading in advance then installing medium object
CN104360880A (en) * 2014-11-03 2015-02-18 联想(北京)有限公司 Application installing method and electronic equipment
CN105824660A (en) * 2015-08-10 2016-08-03 维沃移动通信有限公司 Application program updating method and terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1794734A (en) * 2005-09-28 2006-06-28 华为技术有限公司 Method of unloading in advance then installing medium object
CN104360880A (en) * 2014-11-03 2015-02-18 联想(北京)有限公司 Application installing method and electronic equipment
CN105824660A (en) * 2015-08-10 2016-08-03 维沃移动通信有限公司 Application program updating method and terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110806929A (en) * 2019-10-24 2020-02-18 上海连尚网络科技有限公司 Installation package processing method and device and computer storage medium
CN110941437A (en) * 2019-11-25 2020-03-31 连尚(新昌)网络科技有限公司 Method and equipment for installing application
CN113703897A (en) * 2021-08-30 2021-11-26 北京达佳互联信息技术有限公司 Application processing method and device in electronic equipment
CN113885914A (en) * 2021-09-30 2022-01-04 北京达佳互联信息技术有限公司 Application program processing method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN106598665A (en) Application installation method and device
CN104615350A (en) Method and device for displaying information on screen locking interface
KR101748386B1 (en) Method, apparatus, program and computer-readable recording medium for controlling smart device
CN103888601B (en) Information prompting method, device and terminal
CN103841264A (en) Method and device for protecting terminal equipment and terminal equipment
CN105282723A (en) Emergency call control method and device and emergency call method and device
CN106126685A (en) Page loading method and device
CN105553963A (en) Control method and device of positioning services
CN106157602A (en) The method and apparatus of calling vehicle
CN106203650A (en) Call a taxi and ask sending method and device
CN105100074A (en) Data operation processing method, device and terminal equipment
CN106484392A (en) icon display method and device
CN104267990A (en) Method and device for changing theme in terminal
CN106775248A (en) Push the methods of exhibiting and device of content
CN105227739A (en) On-vehicle Bluetooth broadcasting method and device
CN105554087B (en) information setting method and device
CN106528113A (en) File compiling method and apparatus
CN104503762A (en) Device and method for identifying electronic accessory
CN107071008B (en) Terminal equipment positioning method, device and equipment
EP3125514A1 (en) Method and device for state notification
CN106408258A (en) Ringtone reminding method and device
CN105677435A (en) Function invoking method, apparatus and terminal
CN104063423B (en) A kind of method and device for determining position
CN105657658A (en) Gathering event processing method and apparatuses
CN106228086A (en) Obtain the method and device of positional information

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170426

RJ01 Rejection of invention patent application after publication