CN106648788A - Installing method and device of application program - Google Patents
Installing method and device of application program Download PDFInfo
- Publication number
- CN106648788A CN106648788A CN201611236927.0A CN201611236927A CN106648788A CN 106648788 A CN106648788 A CN 106648788A CN 201611236927 A CN201611236927 A CN 201611236927A CN 106648788 A CN106648788 A CN 106648788A
- Authority
- CN
- China
- Prior art keywords
- versatility
- code storehouse
- versatility code
- storehouse
- application program
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
Abstract
The invention discloses an installing method of an application program and an installing device of the application program, and relates to the technical field of a computer; the method aims to reduce the system space occupied by the application program. The main technical scheme of the invention includes steps of acquiring an installing packet of the application program when the installing order of the application program is received, wherein the installing packet excludes a code base which is universal with the other application program; acquiring an universal code base logo required for installing the application program from a statement file included in the installing packet; confirming a universal code base corresponding to the universal code base logo, wherein the universal code base is the code base compiled in the other installing packet; acquiring a storage path of the universal code base in a local memory; storing the storage path of the universal code base in the local memory to the statement file, and realizing the installation of the application program. The invention is mainly used for installing the application program.
Description
Technical field
The present invention relates to field of computer technology, the installation method and device of more particularly to a kind of application program.
Background technology
With the development of development of Mobile Internet technology, the use of mobile device is very common.User can be on the mobile apparatus
Set up applications (Application, APP), to meet the various demands of user.I.e. mobile device passes through loading application programs
Installation kit (AndroidPackage, APK), carry out the installation of application program.
At present, installation kit can only be installed using the code library of itself or the code library in system to application program.
If the code library that multiple application programs are used be the same and system in there is no the code library, in order to realize that this can be compiled
The installation kit of application program, then need to preserve the code library in each application program, and protects in each application program
Deposit same code library, it will waste a large amount of memory spaces of system.
The content of the invention
In view of this, the present invention provides a kind of installation method and device of application program, and main purpose is to reduce application
The system space that program takes.
According to one aspect of the invention, there is provided a kind of installation method of application program, including:
When application program installation instruction is received, the installation kit of the application program is obtained;Do not wrap in the installation kit
Include the code library general with other application programs;
Obtain in the statement file included from the installation kit and the versatility code storehouse mark that the application program needs is installed;
It is determined that versatility code storehouse corresponding with the versatility code storehouse mark, the versatility code storehouse is in other installation kits
The code library of compiling;
Obtain storage path of the versatility code storehouse in local memory;
Storage path storage by the versatility code storehouse in local memory realizes described answering in the statement file
With the installation of program.
According to another aspect of the invention, there is provided a kind of erecting device of application program, including:
Acquiring unit, for when application program installation instruction is received, obtaining the installation kit of the application program;It is described
The code library general with other application programs is not included in installation kit;
Acquiring unit, is additionally operable to be obtained in the statement file included from the installation kit and installs what the application program needed
Versatility code storehouse identifies;
Determining unit, for determining versatility code storehouse corresponding with the versatility code storehouse mark, the versatility code storehouse
For the code library compiled in other installation kits;
Acquiring unit, is additionally operable to obtain storage path of the versatility code storehouse in local memory;
Memory cell, for the storage path storage by the versatility code storehouse in local memory to the statement file
The middle installation for realizing the application program.
A kind of installation method and device of application program that the present invention is provided, with current installation kit the generation of itself can only be used
Code library in code storehouse or system carries out installation and compares to application program, the versatility code storehouse stored in local memory of the present invention
For in other installation kits compile code library, when need use the versatility code storehouse installation kit set up applications when, it is only necessary to
Will be in fixed its versatility code storehouse to be used of the statement document of installation kit, should without the extra compiling in the installation kit
Versatility code storehouse, so as to pass through the memory space The present invention reduces shared by application program.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention,
And can be practiced according to the content of specification, and in order to allow the above and other objects of the present invention, feature and advantage can
Become apparent, below especially exemplified by the specific embodiment of the present invention.
Description of the drawings
By the detailed description for reading hereafter preferred embodiment, various other advantages and benefit is common for this area
Technical staff will be clear from understanding.Accompanying drawing is only used for illustrating the purpose of preferred embodiment, and is not considered as to the present invention
Restriction.And in whole accompanying drawing, it is denoted by the same reference numerals identical part.In the accompanying drawings:
Fig. 1 shows a kind of installation method flow chart of application program provided in an embodiment of the present invention;
Fig. 2 shows the installation method flow chart of another kind of application program provided in an embodiment of the present invention;
Fig. 3 shows a kind of erecting device structured flowchart of application program provided in an embodiment of the present invention;
Fig. 4 shows the erecting device structured flowchart of another kind of application program provided in an embodiment of the present invention.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing the disclosure in accompanying drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure and should not be by embodiments set forth here
Limited.On the contrary, there is provided these embodiments are able to be best understood from the disclosure, and can be by the scope of the present disclosure
Complete conveys to those skilled in the art.
To make the advantage of technical solution of the present invention clearer, the present invention is made specifically with reference to the accompanying drawings and examples
It is bright.
A kind of installation method of application program is embodiments provided, as shown in figure 1, methods described includes:
101st, when application program installation instruction is received, the installation kit of the application program is obtained.
Wherein, the application program in application program installation instruction needs application program to be mounted, the peace of the application program
The code library general with other application programs is not included in dress bag (AndroidPackage, apk).That is the installation of the application program
It is non-compiled in bag to have and other application programs identical code library.
102nd, obtain in the statement file for including from the installation kit and the versatility code storehouse that the application program needs is installed
Mark.
For the embodiment of the present invention, after the installation kit for getting application program, needs are parsed to the installation kit,
What acquisition installation application program needs were used in the statement file (AndroidManifest) for then including from installation kit is general
Code library is identified, and corresponding general generation is obtained according to the versatility code storehouse mark in subsequent step in order to the embodiment of the present invention
Code storehouse.
It should be noted that the statement file of installation kit is necessary file in each Android program, it is located at whole item
Purpose root, states and the code library that includes in installation kit is described in file, and code library is respective to realize class, various to be located
The data of reason and startup position.Therefore, the embodiment of the present invention is obtained from statement file and installs the logical of the application program needs
Identified with code library, to obtain the storage location that the versatility code storehouse identifies corresponding versatility code storehouse from local memory,
And the versatility code storehouse that needs are used when starting set up applications by the storage location.
103rd, versatility code storehouse corresponding with the versatility code storehouse mark is determined.
For the embodiment of the present invention, be stored with various versatility code storehouse marks point in the terminal device local memory of the present invention
Not corresponding versatility code storehouse, and the versatility code storehouse in Installed System Memory can use by different application program loadings, for reality
Existing function services corresponding with the versatility code storehouse.In embodiments of the present invention, the versatility code storehouse can be other application journey
The code library compiled in sequence installation kit, i.e., the versatility code storehouse stored in system is obtained from other application programs installation kit
's;The versatility code storehouse can also be what is pre-set in systems, i.e., write various logical in advance in the system of terminal device
Corresponding versatility code storehouse respectively is identified with code library, the embodiment of the present invention is not limited.
104th, storage path of the versatility code storehouse in local memory is obtained.
In embodiments of the present invention, it is determined that after versatility code storehouse corresponding with versatility code storehouse mark, needing to obtain
Storage path of the versatility code storehouse in local memory, in order in subsequent step that the storage path storage is literary to statement
In part, for realizing the versatility code storehouse that system needs when starting set up applications by the storage path.
105th, the storage path storage by the versatility code storehouse in local memory realizes institute in the statement file
State the installation of application program.
For the embodiment of the present invention, by code library storage general between multiple application programs in local memory, it is used for
Realize that the versatility code storehouse can be used by the loading of multiple application programs.Specifically, the embodiment of the present invention is receiving application program
During installation instruction, the versatility code storehouse mark used by obtaining set up applications to need from the statement file of installation kit,
And storage path of the versatility code storehouse corresponding with the mark in local memory is obtained, then by the storage path storage for obtaining
To in statement file, the versatility code storehouse is started by the storage path recorded in statement file in order to system and realizes applying journey
The installation of sequence.So as to the versatility code storehouse in the embodiment of the present invention can be used by different application program loadings, reduce multiple
Different application repeats the memory space that storage versatility code place is wasted.
The present invention provide a kind of application program installation method, with current installation kit can only use itself code library or
Code library in person's system carries out installation and compares to application program, and the versatility code storehouse stored in local memory of the present invention is other
The code library compiled in installation kit, when needing to use the installation kit set up applications in the versatility code storehouse, it is only necessary in peace
Fixed its versatility code storehouse to be used of statement document of dress bag, without extra the general generation is compiled in the installation kit
Code storehouse, so as to pass through the memory space The present invention reduces shared by application program.
The installation method of another kind of application program is embodiments provided, as shown in Fig. 2 methods described includes:
201st, when application program installation instruction is received, the installation kit of the application program is obtained.
Wherein, with regard to step 201 when application program installation instruction is received, the installation kit of the application program is obtained
Describe in detail, refer to the description of corresponding steps in Fig. 1, the embodiment of the present invention will not be described here.
202nd, obtain in the statement file for including from the installation kit and the versatility code storehouse that the application program needs is installed
Mark.
Wherein, obtain in the statement file for including from the installation kit with regard to step 202 and the application program needs are installed
Versatility code storehouse mark detailed description, refer to the description of corresponding steps in Fig. 1, embodiment of the present invention here is no longer gone to live in the household of one's in-laws on getting married
State.
203rd, versatility code storehouse corresponding with the versatility code storehouse mark is determined.
For the embodiment of the present invention, each versatility code storehouse is identified for unique its corresponding versatility code storehouse, and this is logical
The code library that corresponding versatility code storehouse is compiling in other installation kits is identified with code library.
204th, the versatility code storehouse that whether is stored with the local memory is detected.
In embodiments of the present invention, the versatility code storehouse mark of set up applications needs is being got from statement file
Afterwards, need to detect in local memory whether store the versatility code storehouse, if being stored with the versatility code storehouse in local memory,
Jump to step 205a, the storage path in obtaining versatility code storehouse in local;If not being stored with local memory, this is general
Code library, then jump to step 205b, the prompting of output target installation kit of the prompting user download package containing the versatility code storehouse
Information, so that target installation kit of the user installation comprising the versatility code storehouse.
It should be noted that the various versatility code storehouse marks that are stored with the versatility code storehouse of local memory are corresponding respectively
Versatility code storehouse, and the versatility code storehouse in local memory can use by different application program loadings, for realizing leading to this
With the corresponding function services of code library.In embodiments of the present invention, the versatility code storehouse is to compile in other application programs installation kit
The acquisition process in the versatility code storehouse in the code library translated, i.e. local memory is specially:First by parsing other application programs
In installation kit, obtain versatility code storehouse and the corresponding title in versatility code storehouse, path, the dependence for including in the installation kit etc.
Information, then system obtains the versatility code storehouse from the corresponding path in versatility code storehouse, and changes the generation that versatility code storehouse relies on
Code storehouse, and the code library storage that the versatility code storehouse for obtaining and versatility code storehouse are relied on is in local memory.
If being stored with the versatility code storehouse in 205a, the local memory, the versatility code storehouse is obtained local
Storage path in internal memory.
If not storing the versatility code storehouse in 205b, the local memory, user's download package is pointed out containing described general
The target installation kit of code library.
Further, so that the user downloads the target installation kit, and by the versatility code in target installation kit
Library storage is in local memory.Wherein, step 205b is the step arranged side by side of step 205a, if not storing described logical in local memory
With code library, then the information of target installation kit of the prompting user download package containing versatility code storehouse is exported, and in the output
Add the download address of the target installation kit in information, so that user downloads target installation kit according to the download address.
For the embodiment of the present invention, either before the application program is installed, or the mistake of the application program is being installed
Cheng Zhong, it is identical that application program is needed into the process in the versatility code library storage to local memory used.I.e. the present invention is real
Example is applied after terminal device downloads the target installation kit, then system obtains firstly the need of being parsed to target installation kit
The statement file of the target installation kit is taken, compiling in the target installation kit has the versatility code storehouse, and from the target
The store path in the versatility code storehouse is obtained in the statement file of installation kit, final system obtains described by the store path
Versatility code storehouse, and by the versatility code library storage in local memory.So as to by the versatility code library storage in local
In depositing, realize that application program is directly from local memory when installation needs to use the application program in the versatility code storehouse with this
The versatility code storehouse, and without the need for repeating in the versatility code storehouse to be compiled into application program, so as to be subtracted by the embodiment of the present invention
The memory space shared by application program is lacked.
It should be noted that because the execution that there is versatility code storehouse needs to rely on the situation of other code libraries, i.e., it is general
The execution of code library depends on the implementing result of other code libraries.Therefore, if the statement text of embodiment of the present invention target installation kit
The versatility code storehouse recorded in part relies on other code libraries, then the present invention also needs to obtain the generation that the versatility code storehouse relies on
The store path in code storehouse, the store path of the code library for then being relied on according to storage versatility code storehouse obtains versatility code storehouse and relies on
Code library, the code library storage for finally relying in the versatility code storehouse and the versatility code storehouse is in local memory.With
This realizes the full content in versatility code storehouse being stored in local memory, so as to realize the peace of application program in subsequent step
Dress.
In embodiments of the present invention, it is general by what is recorded in the statement file when the application program is loaded
The storage path of the code library that code library, versatility code storehouse rely on, loads the versatility code storehouse, the generation of versatility code storehouse dependence
Code storehouse.
206th, the storage path storage by the versatility code storehouse in local memory realizes institute in the statement file
State the installation of application program.
The embodiment of the present invention provides the installation method of another kind of application program, if not storing the general generation in local memory
Code storehouse, then export the information of target installation kit of the download package containing the versatility code storehouse so that user is according in information
Download address download target installation kit.When system is parsed to target installation kit, from the statement text of target installation kit
The store path in versatility code storehouse is obtained in part, then versatility code storehouse is obtained by the store path, and by versatility code storehouse
In storing local memory.Realized when installation needs to use the application program in the versatility code storehouse with this, directly within locally
The versatility code storehouse in depositing, and without the need for repeating in the versatility code storehouse to be compiled into application program, so as to by enforcement of the present invention
Example reduces the memory space shared by application program.
Further, the embodiment of the present invention provides a kind of erecting device of application program, as shown in figure 3, described device bag
Include:Acquiring unit 31, determining unit 32, memory cell 33.
Acquiring unit 31, for when application program installation instruction is received, obtaining the installation kit of the application program;Institute
State and do not include in installation kit the code library general with other application programs;
Wherein, the application program in application program installation instruction needs application program to be mounted, the peace of the application program
The code library general with other application programs is not included in dress bag (AndroidPackage, apk).That is the installation of the application program
It is non-compiled in bag to have and other application programs identical code library.
The acquiring unit 31, is additionally operable to be obtained in the statement file included from the installation kit and installs the application program
The versatility code storehouse mark of needs;
For the embodiment of the present invention, after the installation kit for getting application program, needs are parsed to the installation kit,
What acquisition installation application program needs were used in the statement file (AndroidManifest) for then including from installation kit is general
Code library is identified, and corresponding general generation is obtained according to the versatility code storehouse mark in subsequent step in order to the embodiment of the present invention
Code storehouse.
It should be noted that the statement file of installation kit is necessary file in each Android program, it is located at whole item
Purpose root, states and the code library that includes in installation kit is described in file, and code library is respective to realize class, various to be located
The data of reason and startup position.Therefore, the embodiment of the present invention is obtained from statement file and installs the logical of the application program needs
Identified with code library, to obtain the storage location that the versatility code storehouse identifies corresponding versatility code storehouse from local memory,
And the versatility code storehouse that needs are used when starting set up applications by the storage location.
Determining unit 32, for determining versatility code storehouse corresponding with the versatility code storehouse mark, the versatility code
Storehouse is the code library compiled in other installation kits;
For the embodiment of the present invention, be stored with various versatility code storehouse marks point in the terminal device local memory of the present invention
Not corresponding versatility code storehouse, and the versatility code storehouse in Installed System Memory can use by different application program loadings, for reality
Existing function services corresponding with the versatility code storehouse.In embodiments of the present invention, the versatility code storehouse can be other application journey
The code library compiled in sequence installation kit, i.e., the versatility code storehouse stored in system is obtained from other application programs installation kit
's;The versatility code storehouse can also be what is pre-set in systems, i.e., write various logical in advance in the system of terminal device
Corresponding versatility code storehouse respectively is identified with code library, the embodiment of the present invention is not limited.
The acquiring unit 31, is additionally operable to obtain storage path of the versatility code storehouse in local memory;
In embodiments of the present invention, it is determined that after versatility code storehouse corresponding with versatility code storehouse mark, needing to obtain
Storage path of the versatility code storehouse in local memory, in order in subsequent step that the storage path storage is literary to statement
In part, for realizing the versatility code storehouse that system needs when starting set up applications by the storage path.
Memory cell 33, for the storage path storage by the versatility code storehouse in local memory to the statement text
The installation of the application program is realized in part.
For the embodiment of the present invention, by code library storage general between multiple application programs in local memory, it is used for
Realize that the versatility code storehouse can be used by the loading of multiple application programs.Specifically, the embodiment of the present invention is receiving application program
During installation instruction, the versatility code storehouse mark used by obtaining set up applications to need from the statement file of installation kit,
And storage path of the versatility code storehouse corresponding with the mark in local memory is obtained, then by the storage path storage for obtaining
To in statement file, the versatility code storehouse is started by the storage path recorded in statement file in order to system and realizes applying journey
The installation of sequence.So as to the versatility code storehouse in the embodiment of the present invention can be used by different application program loadings, reduce multiple
Different application repeats the memory space that storage versatility code place is wasted.
It should be noted that each functional unit involved by a kind of erecting device of application program provided in an embodiment of the present invention
Other corresponding descriptions, may be referred to method shown in Fig. 1 correspondence description, will not be described here, it should be understood that the present embodiment
In device can correspond to the full content that realize in preceding method embodiment.
The present invention provide a kind of application program erecting device, with current installation kit can only use itself code library or
Code library in person's system carries out installation and compares to application program, and the versatility code storehouse stored in local memory of the present invention is other
The code library compiled in installation kit, when needing to use the installation kit set up applications in the versatility code storehouse, it is only necessary in peace
Fixed its versatility code storehouse to be used of statement document of dress bag, without extra the general generation is compiled in the installation kit
Code storehouse, so as to pass through the memory space The present invention reduces shared by application program.
Further, the embodiment of the present invention provides the erecting device of another kind of application program, as shown in figure 4, described device
Including:Acquiring unit 41, determining unit 42, memory cell 43.
Acquiring unit 41, for when application program installation instruction is received, obtaining the installation kit of the application program;Institute
State and do not include in installation kit the code library general with other application programs;
The acquiring unit 41, is additionally operable to be obtained in the statement file included from the installation kit and installs the application program
The versatility code storehouse mark of needs;
Determining unit 42, for determining versatility code storehouse corresponding with the versatility code storehouse mark, the versatility code
Storehouse is the code library compiled in other installation kits;
The acquiring unit 41, is additionally operable to obtain storage path of the versatility code storehouse in local memory;
Memory cell 43, for the storage path storage by the versatility code storehouse in local memory to the statement text
The installation of the application program is realized in part.
In embodiments of the present invention, versatility code storehouse corresponding with the versatility code storehouse mark is determined in determining unit 42
Afterwards, stating device also includes:
Detector unit 44, for detecting the local memory in whether be stored with the versatility code storehouse;
It should be noted that the various versatility code storehouse marks that are stored with the versatility code storehouse of local memory are corresponding respectively
Versatility code storehouse, and the versatility code storehouse in local memory can use by different application program loadings, for realizing leading to this
With the corresponding function services of code library.In embodiments of the present invention, the versatility code storehouse is to compile in other application programs installation kit
The acquisition process in the versatility code storehouse in the code library translated, i.e. local memory is specially:First by parsing other application programs
In installation kit, obtain versatility code storehouse and the corresponding title in versatility code storehouse, path, the dependence for including in the installation kit etc.
Information, then system obtains the versatility code storehouse from the corresponding path in versatility code storehouse, and changes the generation that versatility code storehouse relies on
Code storehouse, and the code library storage that the versatility code storehouse for obtaining and versatility code storehouse are relied on is in local memory.
Specifically, the acquiring unit 41 includes:
Acquisition module 411, if for the versatility code storehouse that is stored with the local memory, obtaining the general generation
Storage path of the code storehouse in local memory;
Output module 412, if for not storing the versatility code storehouse in the local memory, under output prompting user
Carry the target installation kit comprising the versatility code storehouse so that the user downloads the target installation kit, and target is installed
Versatility code library storage in bag is in local memory.
For the embodiment of the present invention, either before the application program is installed, or the mistake of the application program is being installed
Cheng Zhong, it is identical that application program is needed into the process in the versatility code library storage to local memory used.Therefore, the present invention
Acquiring unit 41 in embodiment, is additionally operable to, when the target installation kit is resolved, obtain the statement of the target installation kit
File, compiling in the target installation kit has the versatility code storehouse;
The acquiring unit 41, is additionally operable to obtain the versatility code storehouse from the statement file of the target installation kit
Store path;
The memory cell 43, is additionally operable to obtain the versatility code storehouse according to the store path, and will be described general
Code library storage is in local memory.
It should be noted that because the execution that there is versatility code storehouse needs to rely on the situation of other code libraries, i.e., it is general
The execution of code library depends on the implementing result of other code libraries.Therefore the acquiring unit 41 in the embodiment of the present invention, concrete to use
If the versatility code storehouse recorded in the statement file of the target installation kit relies on there are other code libraries, obtain described general
The store path of the code library that code library is relied on;
The memory cell 43 includes:
Acquisition module 431, for obtaining the versatility code storehouse according to the store path for storing the versatility code storehouse;
The acquisition module 431, for being obtained according to the store path for storing the code library that the versatility code storehouse relies on
The code library that the versatility code storehouse relies on;
Memory module 432, for the code library storage that relies in the versatility code storehouse and the versatility code storehouse to
In ground internal memory.
Further, described device also includes:
Loading unit 45, for when the application program is loaded, by the general generation recorded in the statement file
The storage path of the code library that code storehouse, versatility code storehouse rely on, loads the versatility code storehouse, the code of versatility code storehouse dependence
Storehouse.
It should be noted that each function list involved by the erecting device of another kind of application program provided in an embodiment of the present invention
Other corresponding descriptions of unit, may be referred to the correspondence description of method shown in Fig. 2, will not be described here, it should be understood that this enforcement
Device in example can correspond to the full content realized in preceding method embodiment.
The embodiment of the present invention provides the erecting device of another kind of application program, if not storing the general generation in local memory
Code storehouse, then export the information of target installation kit of the download package containing the versatility code storehouse so that user is according in information
Download address download target installation kit.When system is parsed to target installation kit, from the statement text of target installation kit
The store path in versatility code storehouse is obtained in part, then versatility code storehouse is obtained by the store path, and by versatility code storehouse
In storing local memory.Realized when installation needs to use the application program in the versatility code storehouse with this, directly within locally
The versatility code storehouse in depositing, and without the need for repeating in the versatility code storehouse to be compiled into application program, so as to by enforcement of the present invention
Example reduces the memory space shared by application program.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, without the portion described in detail in certain embodiment
Point, may refer to the associated description of other embodiment.
It is understood that said method and the correlated characteristic in device can be referred to mutually.In addition, in above-described embodiment
" first ", " second " etc. be, for distinguishing each embodiment, and not represent the quality of each embodiment.
Those skilled in the art can be understood that, for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be described here.
Provided herein algorithm and display be not inherently related to any certain computer, virtual system or miscellaneous equipment.
Various general-purpose systems can also be used together based on teaching in this.As described above, construct required by this kind of system
Structure be obvious.Additionally, the present invention is also not for any certain programmed language.It is understood that, it is possible to use it is various
Programming language realizes the content of invention described herein, and the description done to language-specific above is to disclose this
Bright preferred forms.
In specification mentioned herein, a large amount of details are illustrated.It is to be appreciated, however, that the enforcement of the present invention
Example can be put into practice in the case of without these details.In some instances, known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help understand one or more in each inventive aspect, exist
Above in the description of the exemplary embodiment of the present invention, each feature of the present invention is grouped together into single enforcement sometimes
In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:I.e. required guarantor
The more features of feature that the application claims ratio of shield is expressly recited in each claim.More precisely, such as following
Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore,
Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself
All as the separate embodiments of the present invention.
Those skilled in the art are appreciated that can be carried out adaptively to the module in the equipment in embodiment
Change and they are arranged in one or more equipment different from the embodiment.Can be the module or list in embodiment
Unit or component are combined into a module or unit or component, and can be divided into addition multiple submodule or subelement or
Sub-component.In addition at least some in such feature and/or process or unit is excluded each other, can adopt any
Combine to all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so disclosed
Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification is (including adjoint power
Profit is required, summary and accompanying drawing) disclosed in each feature can it is identical by offers, be equal to or the alternative features of similar purpose carry out generation
Replace.
Although additionally, it will be appreciated by those of skill in the art that some embodiments described herein include other embodiments
In included some features rather than further feature, but the combination of the feature of different embodiments means in of the invention
Within the scope of and form different embodiments.For example, in the following claims, embodiment required for protection appoint
One of meaning can in any combination mode using.
The present invention all parts embodiment can be realized with hardware, or with one or more processor operation
Software module realize, or with combinations thereof realization.It will be understood by those of skill in the art that can use in practice
Microprocessor or digital signal processor (DSP) are realizing the renewal of self-aided terminal operation flow according to embodiments of the present invention
The some or all functions of some or all parts in method and device.The present invention is also implemented as performing this
In described method some or all equipment or program of device (for example, computer program and computer program
Product).Such program for realizing the present invention can be stored on a computer-readable medium, either can be with one or many
The form of individual signal.Such signal can be downloaded from internet website and obtained, or be provided on carrier signal, or with
Any other form is provided.
It should be noted that above-described embodiment the present invention will be described rather than limits the invention, and ability
Field technique personnel can design without departing from the scope of the appended claims alternative embodiment.In the claims,
Any reference symbol between bracket should not be configured to limitations on claims.Word "comprising" is not excluded the presence of not
Element listed in the claims or step.Word "a" or "an" before element does not exclude the presence of multiple such
Element.The present invention can come real by means of the hardware for including some different elements and by means of properly programmed computer
It is existing.If in the unit claim for listing equipment for drying, several in these devices can be by same hardware branch
To embody.The use of word first, second, and third does not indicate that any order.These words can be explained and be run after fame
Claim.
Claims (10)
1. a kind of installation method of application program, it is characterised in that include:
When application program installation instruction is received, the installation kit of the application program is obtained;Do not include in the installation kit with
The general code library of other application programs;
Obtain in the statement file included from the installation kit and the versatility code storehouse mark that the application program needs is installed;
It is determined that versatility code storehouse corresponding with the versatility code storehouse mark, the versatility code storehouse is to compile in other installation kits
Code library;
Obtain storage path of the versatility code storehouse in local memory;
Storage path storage by the versatility code storehouse in local memory realizes the application journey in the statement file
The installation of sequence.
2. method according to claim 1, it is characterised in that the acquisition versatility code storehouse is in local memory
Before storage path, methods described also includes:
Detect and whether be stored with the local memory versatility code storehouse;
The storage path that the versatility code storehouse is obtained in local memory includes:
If being stored with the versatility code storehouse in the local memory, versatility code storehouse the depositing in local memory is obtained
Put path;
If not storing the versatility code storehouse in the local memory, mesh of user's download package containing the versatility code storehouse is pointed out
Mark installation kit so that the user downloads the target installation kit, and by the versatility code library storage in target installation kit to this
In ground internal memory.
3. method according to claim 2, it is characterised in that methods described also includes:
When the target installation kit is resolved, the statement file of the target installation kit is obtained, compiled in the target installation kit
The versatility code storehouse is translated;
The store path in the versatility code storehouse is obtained from the statement file of the target installation kit;
The versatility code storehouse is obtained according to the store path, and by the versatility code library storage in local memory.
4. method according to claim 3, it is characterised in that obtain institute in the statement file from the target installation kit
Stating the store path in versatility code storehouse includes:
If the versatility code storehouse recorded in the statement file of the target installation kit relies on there are other code libraries, obtain described logical
The store path of the code library relied on code library;
It is described that the versatility code storehouse is obtained according to the store path, and by the versatility code library storage in local memory
Including:
Store path according to the versatility code storehouse is stored obtains the versatility code storehouse;
Store path according to the code library that the versatility code storehouse relies on is stored obtains the code that the versatility code storehouse relies on
Storehouse;
The code library storage that the versatility code storehouse and the versatility code storehouse are relied on is in local memory.
5. the method according to any one of claim 1-4, it is characterised in that by the versatility code storehouse in local memory
In storage path store and realize that methods described also includes after the installation of the application program in the statement file:
When the application program is loaded, by the versatility code storehouse, the dependence of versatility code storehouse that record in the statement file
Code library storage path, load the versatility code storehouse, the code library that versatility code storehouse relies on.
6. a kind of erecting device of application program, it is characterised in that include:
Acquiring unit, for when application program installation instruction is received, obtaining the installation kit of the application program;The installation
The code library general with other application programs is not included in bag;
The acquiring unit, is additionally operable to be obtained in the statement file included from the installation kit and installs what the application program needed
Versatility code storehouse identifies;
Determining unit, for determining versatility code storehouse corresponding with the versatility code storehouse mark, the versatility code storehouse is it
The code library compiled in his installation kit;
The acquiring unit, is additionally operable to obtain storage path of the versatility code storehouse in local memory;
Memory cell, for real in the storage path storage by the versatility code storehouse in local memory to the statement file
The installation of the existing application program.
7. device according to claim 6, it is characterised in that described device also includes:
Detector unit, for detecting the local memory in whether be stored with the versatility code storehouse;
The acquiring unit includes:
Acquisition module, if for the versatility code storehouse that is stored with the local memory, obtaining the versatility code storehouse and existing
Storage path in local memory;
Output module, if for not storing the versatility code storehouse in the local memory, output prompting user's download package contains
The target installation kit in the versatility code storehouse so that the user downloads the target installation kit, and by target installation kit
Versatility code library storage is in local memory.
8. device according to claim 7, it is characterised in that the acquiring unit, is additionally operable to when the target installation kit
When resolved, the statement file of the target installation kit is obtained, compiling in the target installation kit has the versatility code storehouse;
The acquiring unit, is additionally operable to from the statement file of the target installation kit obtain the storage road in the versatility code storehouse
Footpath;
The memory cell, is additionally operable to obtain the versatility code storehouse according to the store path, and by the versatility code storehouse
In storing local memory.
9. device according to claim 8, it is characterised in that the acquiring unit, if installing specifically for the target
The versatility code storehouse recorded in the statement file of bag relies on other code libraries, then obtain the code that the versatility code storehouse relies on
The store path in storehouse;
The memory cell includes:
Acquisition module, for obtaining the versatility code storehouse according to the store path for storing the versatility code storehouse;
The acquisition module, for obtaining described general according to the store path for storing the code library that the versatility code storehouse relies on
The code library that code library is relied on;
Memory module, for the code library storage that relies in the versatility code storehouse and the versatility code storehouse to local memory
In.
10. the device according to any one of claim 6-9, it is characterised in that described device also includes:
Loading unit, for when the application program is loaded, stating the versatility code storehouse recorded in file, leading to by described
The storage path of the code library relied on code library, loads the versatility code storehouse, the code library of versatility code storehouse dependence.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611236927.0A CN106648788B (en) | 2016-12-28 | 2016-12-28 | Application program installation method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611236927.0A CN106648788B (en) | 2016-12-28 | 2016-12-28 | Application program installation method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106648788A true CN106648788A (en) | 2017-05-10 |
CN106648788B CN106648788B (en) | 2020-08-28 |
Family
ID=58832442
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611236927.0A Active CN106648788B (en) | 2016-12-28 | 2016-12-28 | Application program installation method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106648788B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108255481A (en) * | 2018-01-17 | 2018-07-06 | 北京网信云服信息科技有限公司 | Application and development method and relevant device |
CN109857405A (en) * | 2019-02-02 | 2019-06-07 | Oppo广东移动通信有限公司 | Compilation Method, device, storage medium and the terminal of application program installation kit |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105159788A (en) * | 2015-09-11 | 2015-12-16 | Tcl集团股份有限公司 | Method and system for dynamic resource sharing between Android applications |
CN106095518A (en) * | 2016-06-28 | 2016-11-09 | 东软集团股份有限公司 | Application program installation method and device |
-
2016
- 2016-12-28 CN CN201611236927.0A patent/CN106648788B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105159788A (en) * | 2015-09-11 | 2015-12-16 | Tcl集团股份有限公司 | Method and system for dynamic resource sharing between Android applications |
CN106095518A (en) * | 2016-06-28 | 2016-11-09 | 东软集团股份有限公司 | Application program installation method and device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108255481A (en) * | 2018-01-17 | 2018-07-06 | 北京网信云服信息科技有限公司 | Application and development method and relevant device |
CN109857405A (en) * | 2019-02-02 | 2019-06-07 | Oppo广东移动通信有限公司 | Compilation Method, device, storage medium and the terminal of application program installation kit |
Also Published As
Publication number | Publication date |
---|---|
CN106648788B (en) | 2020-08-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1324467C (en) | Token-based linking | |
KR101246623B1 (en) | Apparatus and method for detecting malicious applications | |
US20160019072A1 (en) | Dynamic determination of application server runtime classloading | |
CN102981915B (en) | A kind of inter-application communication method and device | |
CN110727440B (en) | Software packaging method | |
CN104462959A (en) | Reinforcement protection method, sever and system for android app | |
CN103679029A (en) | Method and device for repairing cheap-copy application programs | |
CN107506221A (en) | Application program updating method, apparatus and equipment | |
CN104375874B (en) | Method and device for loading Linux kernel driver | |
CN104731622B (en) | The loading method of a kind of application program, device and mobile terminal | |
CN105630518A (en) | Method and device for updating resources of Android application software | |
CN105426310A (en) | Method and apparatus for detecting performance of target process | |
CN104572235A (en) | Compiling method and device for loadable kernel module | |
CN107797818A (en) | Application program updating method and device | |
CN105095090A (en) | Method and device for testing application installation package | |
CN106055375A (en) | Application program installation method and device | |
CN105138352B (en) | Method and device for installing application plug-in | |
CN106873966A (en) | A kind of application development method and device | |
CN106648788A (en) | Installing method and device of application program | |
WO2020079676A1 (en) | Applying security mitigation measures for stack corruption exploitation in intermediate code files | |
CN106681782B (en) | Method and device for compiling dynamic link library SO file of android installation package | |
CN104376126A (en) | Method and device for binding kernel symbols in Linux driver | |
CN106529287A (en) | Method and device for automatically reinforcing application vulnerabilities | |
CN109190367A (en) | Utilize the method and device of sandbox operation application program installation kit | |
CN104239112A (en) | Device driver 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 |